TimelineOptions
Options of engine.timeline().
Properties
Section titled “Properties”repeat?
Section titled “repeat?”
optionalrepeat?:number
Plays after the first: 2 plays three times in all; -1 forever (until stop). Default 0.
optionalyoyo?:boolean
Every other play runs backwards (with repeat).
delay?
Section titled “delay?”
optionaldelay?:number
Seconds before it starts.
paused?
Section titled “paused?”
optionalpaused?:boolean
Made paused: call resume() to start it.
onComplete?
Section titled “onComplete?”
optionalonComplete?: () =>void
Called when the last play ends (not on stop).
Returns
Section titled “Returns”void