@ff0000-ad-tech/ad-animation
v2.1.0
Published
[![npm (tag)](https://img.shields.io/npm/v/@ff0000-ad-tech%2Fad-animation.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-animation) [![GitHub issues](https://img.shields.io/github/issues/ff0000-ad-tech/ad-animation.svg?style=fl
Downloads
17
Readme
RED Interactive Agency - Ad Technology
ad-animation
A package of animation tools leveraging the greensock library.
API
SpritePlayer
- .onComplete : function
- .onLoop : function
- .sprite : Graphic.Sprite
- .loop : boolean | number
- .frame : number
- .targetFrame : number
- .speed : number
- .play()
- .pause()
- .stop()
- .clear()
- .render()
- .reverse()
- .forward()
TweenPromise
- .to(target, time, vars) ⇒ Promise
- .from(target, time, vars) ⇒ Promise
- .fromTo(target, time, fromVars, toVars) ⇒ Promise