Skip to content

MLScrollytellingEventMap

Defined in: packages/core/src/components/ml-scrollytelling.ts:114

Every event <ml-scrollytelling> dispatches, typed with its detail. All bubble.

PropertyTypeDefined in
ml-scrollytelling:actionCustomEvent<{ 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:chapterCustomEvent<{ callback: string | null; chapterId: string; index: number; map: maplibregl.Map | null; previousChapterId: string | null; }>packages/core/src/components/ml-scrollytelling.ts:115
ml-scrollytelling:errorCustomEvent<{ errors: ParseError[]; source: string | null; warnings: ValidationWarning[]; }>packages/core/src/components/ml-scrollytelling.ts:129