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
type MarkerLifecycleAnimationEventData = {
preset:
| EnterAnimationPreset
| ExitAnimationPreset
| IdleAnimationPreset
| "custom";
target: Marker;
type: | "enteranimationstart"
| "enteranimationend"
| "exitanimationstart"
| "exitanimationend"
| "idleanimationstart"
| "idleanimationiteration"
| "idleanimationend";
}
preset:
| EnterAnimationPreset
| ExitAnimationPreset
| IdleAnimationPreset
| "custom";
target: Marker;
type: | "enteranimationstart"
| "enteranimationend"
| "exitanimationstart"
| "exitanimationend"
| "idleanimationstart"
| "idleanimationiteration"
| "idleanimationend";
}
Properties
preset
The preset configured for the phase that fired this event, or "custom" for a MarkerCustomAnimationOptions animation.
target
type
type:
| "enteranimationstart"
| "enteranimationend"
| "exitanimationstart"
| "exitanimationend"
| "idleanimationstart"
| "idleanimationiteration"
| "idleanimationend"
| "enteranimationstart"
| "enteranimationend"
| "exitanimationstart"
| "exitanimationend"
| "idleanimationstart"
| "idleanimationiteration"
| "idleanimationend"
Event fired by a marker's lifecycle animations —
enter/exitfirestart/endonce each;idleadditionally firesiterationonce per loop.