Z.TimelineLabel
Inherits from Z.Base
Description
Timeline labels mark a point in time along a timeline. They can be used to play timelines from specific points, fire event handlers and more.
For further information on using timeline labels please see the related article Timeline Labels.
Provided by Z.TimelineLabel
Events
pass | Emitted when the timeline passes through the timeline label in any direction. |
passbackwards | Emitted when the timeline passes through the timeline label in a backwards direction. |
passforward | Emitted when the timeline passes through the timeline label in a forwards direction. |
Functions
activate( ) | Sets the timeline to the point in time at which the timeline label is located without playing it. |
name( ) | Gets the name of the timeline label. |
play(...) | Plays the timeline from the timeline label location. |
time( ) | Gets the point in time at which the timeline label exists. |
Inherited from Z.Base
Functions
emit(...) | Calls the handler functions attached to an event. |
hasTag(...) | Returns true if this object has the specified tag. |
off(...) | Removes a handler function from an event. |
on(...) | Attaches a handler function to an event. |
one(...) | Attaches a single-use handler function to an event. |
pushTag(...) | Adds a tag to this object. |
removeTag(...) | Removes a tag from this object. |
tags( ) | Gets an array of the tags that this object belongs to. |
tags(...) | Sets the array of the tags that this object belongs to. |