Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caspervonb/node-tweens
Chainable tweens
https://github.com/caspervonb/node-tweens
Last synced: about 1 month ago
JSON representation
Chainable tweens
- Host: GitHub
- URL: https://github.com/caspervonb/node-tweens
- Owner: caspervonb
- Created: 2015-01-31T07:36:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-07T07:53:29.000Z (almost 10 years ago)
- Last Synced: 2024-11-14T09:31:20.673Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
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