Skip to content

Type Alias: AnimateTarget ​

ts
type AnimateTarget =
  | string
  | number
  | null
  | undefined
  | FrameInput
  | readonly (string | number | FrameInput | null | undefined)[];

What Chart.animate plays: null / undefined for every frame in order, a string or number for the frames of that group, a frame object, or a list of frame names and frame objects (['2007'] plays the frame named '2007'; [null] plays nothing, which with mode: 'immediate' pauses).

Released under the MIT License.