MLScrollytellingEventMap
Defined in: packages/core/src/components/ml-scrollytelling.ts:114
Every event <ml-scrollytelling> dispatches, typed with its detail. All
bubble.
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
ml-scrollytelling:action | CustomEvent<{ action: { action: "custom" | "flyTo" | "setFilter" | "setPaintProperty" | "setLayoutProperty" | "easeTo" | "fitBounds"; bounds?: number[] | [number, number, number, number] | [[number, number], [number, number]]; filter?: any[] | null; layer?: string; options?: Record<string, any>; property?: string; value?: any; }; chapterId: string; map: maplibregl.Map | null; phase: "enter" | "exit"; }> | packages/core/src/components/ml-scrollytelling.ts:123 |
ml-scrollytelling:chapter | CustomEvent<{ callback: string | null; chapterId: string; index: number; map: maplibregl.Map | null; previousChapterId: string | null; }> | packages/core/src/components/ml-scrollytelling.ts:115 |
ml-scrollytelling:error | CustomEvent<{ errors: ParseError[]; source: string | null; warnings: ValidationWarning[]; }> | packages/core/src/components/ml-scrollytelling.ts:129 |