static
Class NF.anim.transition
Manages and plays timeline animations in response to widget events. NF.anim.timeline objects may be directly applied to widget Nodes with
this class.
Note: When using the NF.replicator object to clone timelines on widget Nodes it is not necessary to directly access this class.
The replicator object will automatically register its timeline clones as transitions.
Properties
Stops mouse events from firing on widget nodes during an animation transition.
Methods
void
applyTimeline
(
Node
,
timeline
)
Applies a timeline transition to the specified Nodes.
- Parameters:
-
Node
<Node | Node Array>
The nodes to apply the timeline to.
-
timeline
<object>
A timeline or clip object to apply. Clips are automatically converted to timeline objects containing the clip.
- Returns:
void
void
removeTimeline
(
Node
,
timeline
)
Removes a single timeline transition or all timeline transitions from the specified Nodes.
- Parameters:
-
Node
<Node | Node Array>
The nodes to remove timelines from.
-
timeline
<object>
Optional, a specific timeline object to remove. If this paramter is not specified, all timeline transitions are removed from the Nodes.
- Returns:
void