Skip to content

TimelineOptions

timelinePlayCount

timelinePlayCount?: number Default: 1

The number of times the timeline should play. Use -1 for infinite plays.

timelineSpeed

timelineSpeed?: number Default: 1

The speed at which the timeline should play.

Entering a Zero or negative number will cause an error.

  • 1 = normal speed
  • 2 = double speed
  • 0.5 = half speed

autoPlay

autoPlay?: boolean Default: true

Indicates whether the animation should start playing automatically.