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 MarkerLifecycleAnimationEventData

Event fired by a marker's lifecycle animations — enter/exit fire start/end once each; idle additionally fires iteration once per loop.

type MarkerLifecycleAnimationEventData = {
    preset:
        | EnterAnimationPreset
        | ExitAnimationPreset
        | IdleAnimationPreset
        | "custom";
    target: Marker;
    type: | "enteranimationstart"
    | "enteranimationend"
    | "exitanimationstart"
    | "exitanimationend"
    | "idleanimationstart"
    | "idleanimationiteration"
    | "idleanimationend";
}
Index

Properties

Properties

preset:
    | EnterAnimationPreset
    | ExitAnimationPreset
    | IdleAnimationPreset
    | "custom"

The preset configured for the phase that fired this event, or "custom" for a MarkerCustomAnimationOptions animation.

target: Marker
type:
    | "enteranimationstart"
    | "enteranimationend"
    | "exitanimationstart"
    | "exitanimationend"
    | "idleanimationstart"
    | "idleanimationiteration"
    | "idleanimationend"
Was this helpful?