Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caspervonb/node-tweens

Chainable tweens
https://github.com/caspervonb/node-tweens

Last synced: about 1 month ago
JSON representation

Chainable tweens

Awesome Lists containing this project

README

        

# Tweens

## setTween(subject, target, easing, duration, [callback])
- `subject` *Object* The source object that will be altered.
- `target` *Object* The target object that the source object will be interpolated to.
- `easing` *Function* The easing function that will be called each
- `duration` *Number* The duration if the transition, in milliseconds.
- `[callback]` *Function* The callback function that will be called when the transition has been completed.

## clearTween(tweenId)
Stops a tween from triggering