Skip to content

Vizzu / Modules / types/anim / ControlOptions

Interface: ControlOptions

types/anim.ControlOptions

Animation playback related oprtions.

Properties

direction

• Optional direction: "reverse" | "normal"

Play direction of the animation.


playState

• Optional playState: "paused" | "running"

Determines if the animation should start automatically after the animate() call.


position

• Optional position: number

The starting position of the animation.


speed

• Optional speed: number

Playback speed of the animation. It is 1.0 by default. Negative values are considered 0.