For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias MarkerPresetAnimationOptions<Preset>

MarkerPresetAnimationOptions: MarkerAnimationBase & {
    custom?: never;
    magnitude?: number;
    preset: Preset;
}

Configures a marker's enter/exit/idle animation via a predefined preset.

Type Parameters

  • Preset extends string

Type Declaration

  • Optionalcustom?: never
  • Optionalmagnitude?: number

    Scales the preset's motion from rest (0) up to its full designed displacement (1, the default) — values beyond 1 exaggerate it. Has no effect on presets with no independent "how far" axis.

  • preset: Preset

    Predefined animation type.

Was this helpful?