DocumentEventMap Type — astro Architecture
Architecture documentation for the DocumentEventMap type/interface in view-transitions.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 414b58bf_e5b9_1928_cd4a_2c4c59026220["DocumentEventMap"] 83b9a432_cb59_d6d8_a07a_806a3dc201bf["view-transitions.ts"] 414b58bf_e5b9_1928_cd4a_2c4c59026220 -->|defined in| 83b9a432_cb59_d6d8_a07a_806a3dc201bf style 414b58bf_e5b9_1928_cd4a_2c4c59026220 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/types/public/view-transitions.ts lines 33–39
interface DocumentEventMap {
'astro:before-preparation': TransitionBeforePreparationEvent;
'astro:after-preparation': Event;
'astro:before-swap': TransitionBeforeSwapEvent;
'astro:after-swap': Event;
'astro:page-load': Event;
}
Source
Frequently Asked Questions
What is the DocumentEventMap type?
DocumentEventMap is a type/interface in the astro codebase, defined in packages/astro/src/types/public/view-transitions.ts.
Where is DocumentEventMap defined?
DocumentEventMap is defined in packages/astro/src/types/public/view-transitions.ts at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free