Animation options for building an animation via constructor.

Hierarchy

  • AnimationOptions

Properties

frameDuration?: number

Optionally specify a default frame duration in ms (Default is 1000)

frames: Frame[]

List of frames in the order you wish to play them

reverse?: boolean

Optionally reverse the direction of play

Optionally specify the AnimationStrategy for the Animation

totalDuration?: number

Optionally specify a total duration of the animation in ms to calculate each frame's duration