Interface: AnimationOptions
Options of Chart.animate (Plotly's animationOpts).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
direction? | readonly | "forward" | "reverse" | 'reverse' plays the frames backwards. Default 'forward'. |
frame? | readonly | | FrameOptions | readonly FrameOptions[] | Frame timing: one object for every frame, or one per frame (the last repeats). |
fromcurrent? | readonly | boolean | Start after the frame shown last (when it is one of the frames asked for). Default false. |
mode? | readonly | "immediate" | "next" | "afterall" | What happens to frames still queued by earlier calls: 'afterall' (default) plays these frames after them, 'next' drops them and starts once the current frame's duration is over, 'immediate' drops them and starts now, interrupting the current transition. |
transition? | readonly | | TransitionOptions | readonly TransitionOptions[] | Transition into each frame: one object, or one per frame. Its duration is capped at the frame's duration. |