DOMAttributes Type — astro Architecture
Architecture documentation for the DOMAttributes type/interface in astro-jsx.d.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a0adb47d_7ce9_8cfd_723c_6f82c2071de6["DOMAttributes"] d523c4d2_c1d1_7d83_faae_8b6b7c0c800a["astro-jsx.d.ts"] a0adb47d_7ce9_8cfd_723c_6f82c2071de6 -->|defined in| d523c4d2_c1d1_7d83_faae_8b6b7c0c800a style a0adb47d_7ce9_8cfd_723c_6f82c2071de6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/astro-jsx.d.ts lines 40–175
interface DOMAttributes {
children?: Children;
// Clipboard Events
oncopy?: string | undefined | null;
oncut?: string | undefined | null;
onpaste?: string | undefined | null;
// Composition Events
oncompositionend?: string | undefined | null;
oncompositionstart?: string | undefined | null;
oncompositionupdate?: string | undefined | null;
// Focus Events
onfocus?: string | undefined | null;
onfocusin?: string | undefined | null;
onfocusout?: string | undefined | null;
onblur?: string | undefined | null;
// Form Events
onchange?: string | undefined | null;
oninput?: string | undefined | null;
onreset?: string | undefined | null;
onsubmit?: string | undefined | null;
oninvalid?: string | undefined | null;
onbeforeinput?: string | undefined | null;
// Image Events
onload?: string | undefined | null;
onerror?: string | undefined | null; // also a Media Event
// Detail Events
ontoggle?: string | undefined | null;
// Keyboard Events
onkeydown?: string | undefined | null;
onkeypress?: string | undefined | null;
onkeyup?: string | undefined | null;
// Media Events
onabort?: string | undefined | null;
oncanplay?: string | undefined | null;
oncanplaythrough?: string | undefined | null;
oncuechange?: string | undefined | null;
ondurationchange?: string | undefined | null;
onemptied?: string | undefined | null;
onencrypted?: string | undefined | null;
onended?: string | undefined | null;
onloadeddata?: string | undefined | null;
onloadedmetadata?: string | undefined | null;
onloadstart?: string | undefined | null;
onpause?: string | undefined | null;
onplay?: string | undefined | null;
onplaying?: string | undefined | null;
onprogress?: string | undefined | null;
onratechange?: string | undefined | null;
onseeked?: string | undefined | null;
onseeking?: string | undefined | null;
onstalled?: string | undefined | null;
onsuspend?: string | undefined | null;
ontimeupdate?: string | undefined | null;
onvolumechange?: string | undefined | null;
onwaiting?: string | undefined | null;
// MouseEvents
onauxclick?: string | undefined | null;
onclick?: string | undefined | null;
oncontextmenu?: string | undefined | null;
ondblclick?: string | undefined | null;
ondrag?: string | undefined | null;
ondragend?: string | undefined | null;
ondragenter?: string | undefined | null;
ondragexit?: string | undefined | null;
ondragleave?: string | undefined | null;
ondragover?: string | undefined | null;
ondragstart?: string | undefined | null;
ondrop?: string | undefined | null;
onmousedown?: string | undefined | null;
onmouseenter?: string | undefined | null;
onmouseleave?: string | undefined | null;
onmousemove?: string | undefined | null;
Defined In
Source
Frequently Asked Questions
What is the DOMAttributes type?
DOMAttributes is a type/interface in the astro codebase, defined in packages/astro/astro-jsx.d.ts.
Where is DOMAttributes defined?
DOMAttributes is defined in packages/astro/astro-jsx.d.ts at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free