Skip to content

caspervonb/node-tweens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Chainable tweens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published