TrackCollection
Extends:
Collection hosting all the Track instances registered into the timeline.
It provides shorcuts to trigger render / update methods on tracks or
layers. Extend built-in Array
Constructor Summary
| Public Constructor | ||
| public |
constructor(timeline: *) |
|
Member Summary
| Public Members | ||
| public set |
|
|
| public get |
An array of all registered layers. |
|
Method Summary
| Public Methods | ||
| public |
render() Render all tracks and layers. |
|
| public |
Updates all tracks and layers. |
|
| public |
Updates all |
|
| public |
updateLayers(layerOrGroup: Layer | String) Updates all layers. |
|
Public Constructors
public constructor(timeline: *) source
Params:
| Name | Type | Attribute | Description |
| timeline | * |
Public Members
Public Methods
public render() source
Render all tracks and layers. When done, the timeline triggers a render event.
public update(layerOrGroup: Layer | String) source
Updates all tracks and layers. When done, the timeline triggers a
update event.
public updateContainer() source
Updates all Track containers, layers are not updated with this method.
When done, the timeline triggers a update:containers event.