Timeline
A TimeAnimation that manages and controls one or more individual animations. Using a timeline, you can control the playback of multiple animations at once and keep them in sync.
Properties
Whether the animation should always play from the beginning. When false, the animation will resume from its current position when restarted. Defaults to false
.
Functions
Restricts the animation to a specific date range relative to the overall start and end date. This is useful if you want to limit the animation to a subset of the overall time range without changing the overall start and end date values.
Advances the playhead past the start time by the given number of milliseconds.
Begins playing the animation from the specified date where date is within the time range between the timeline's startDate and endDate values.
Updates the timeline end date by applying the specified time offset to the relative date. If no relative date is provided, then the current time and date will be used.
Updates the timeline end date by calculating the date using a relative time string, such as "-2 hours" or "1 day".
Updates the timeline start date by applying the specified time offset to the relative date. If no relative date is provided, then the current time and date will be used.
Updates the timeline start date by calculating the date using a relative time string, such as "-2 hours" or "1 day".
Renamed from trigger in js since type-erasure caused signature clash