Type class
Animation object.
Click here for more info
Sources
This information about Animation is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
Animation does not extend any other symbol.
Animation is not extended by any other symbol.
Settings
Animation does not have any settings.
Private settings
Animation does not have any private settings.
Properties
events # |
Type Default |
---|---|
from # |
Type |
percentage # |
Type |
playing # |
Type |
stopped # |
Type |
to # |
Type |
Methods
constructor( animation: ) |
Returns |
---|---|
pause() |
Returns |
play() |
Returns |
stop() |
Returns |
waitForStop() |
Returns |
Events
Add event handlers to Animation object using its events.on()
method.
Read about adding event handlers.
#stopped |
Param { type: Invoked when animation was stopped, which happens in these situations: 1. When the animation reached the end. 2. When the 3. When a new animation starts for the same key. 4. When calling |
---|