# Module /repr/js/dom

Typed Browser DOM and Document/Element interop bindings when compiling Tangu to JavaScript.

```tangu
(use /repr/js/dom)
```

## Functions & symbols

### Animation-Event

`Animation-Event`

Tangu kebab-case alias for `AnimationEvent`.

### AnimationEvent

`AnimationEvent`

DOM CSS keyframe animation lifecycle event interface.

### CSS-Style-Declaration

`CSS-Style-Declaration`

Tangu kebab-case alias for `CSSStyleDeclaration`.

### CSSStyleDeclaration

`CSSStyleDeclaration`

Inline/computed CSS style property map (`element.style`).

### Canvas-Rendering-Context-2D

`Canvas-Rendering-Context-2D`

Tangu kebab-case alias for `CanvasRenderingContext2D`.

### CanvasRenderingContext2D

`CanvasRenderingContext2D`

2D Canvas immediate-mode drawing context.

### Clipboard-Event

`Clipboard-Event`

Tangu kebab-case alias for `ClipboardEvent`.

### ClipboardEvent

`ClipboardEvent`

DOM copy/cut/paste clipboard event interface.

### Custom-Event

`Custom-Event`

Tangu kebab-case alias for `CustomEvent`.

### CustomEvent

`CustomEvent`

DOM `CustomEvent` constructor carrying arbitrary `:detail` payloads.

### DOM-Rect

`DOM-Rect`

Tangu kebab-case alias for `DOMRect`.

### DOM-Token-List

`DOM-Token-List`

Tangu kebab-case alias for `DOMTokenList`.

### DOMRect

`DOMRect`

Bounding box dimensions and viewport offsets returned by `getBoundingClientRect()`.

### DOMTokenList

`DOMTokenList`

DOM `classList` / `relList` token collection (`add`, `remove`, `toggle`).

### Document

`Document`

DOM `Document` interface constructor/type for JS targets.

### Document-Fragment

`Document-Fragment`

Tangu kebab-case alias for DOM `DocumentFragment`.

### DocumentFragment

`DocumentFragment`

Lightweight offscreen DOM `DocumentFragment` container.

### Drag-Event

`Drag-Event`

Tangu kebab-case alias for `DragEvent`.

### DragEvent

`DragEvent`

DOM HTML5 drag-and-drop event interface.

### Element

`Element`

DOM `Element` interface for attributes, classes, selectors, and layout.

### Event

`Event`

DOM `Event` base constructor/interface.

### Focus-Event

`Focus-Event`

Tangu kebab-case alias for `FocusEvent`.

### FocusEvent

`FocusEvent`

DOM focus/blur transition event interface.

### HTML-Anchor-Element

`HTML-Anchor-Element`

Tangu kebab-case alias for `HTMLAnchorElement`.

### HTML-Audio-Element

`HTML-Audio-Element`

Tangu kebab-case alias for `HTMLAudioElement`.

### HTML-Button-Element

`HTML-Button-Element`

Tangu kebab-case alias for `HTMLButtonElement`.

### HTML-Canvas-Element

`HTML-Canvas-Element`

Tangu kebab-case alias for `HTMLCanvasElement`.

### HTML-Dialog-Element

`HTML-Dialog-Element`

Tangu kebab-case alias for `HTMLDialogElement`.

### HTML-Element

`HTML-Element`

Tangu kebab-case alias for `HTMLElement`.

### HTML-Form-Element

`HTML-Form-Element`

Tangu kebab-case alias for `HTMLFormElement`.

### HTML-Image-Element

`HTML-Image-Element`

Tangu kebab-case alias for `HTMLImageElement`.

### HTML-Input-Element

`HTML-Input-Element`

Tangu kebab-case alias for `HTMLInputElement`.

### HTML-Select-Element

`HTML-Select-Element`

Tangu kebab-case alias for `HTMLSelectElement`.

### HTML-Template-Element

`HTML-Template-Element`

Tangu kebab-case alias for `HTMLTemplateElement`.

### HTML-Text-Area-Element

`HTML-Text-Area-Element`

Tangu kebab-case alias for `HTMLTextAreaElement`.

### HTML-Video-Element

`HTML-Video-Element`

Tangu kebab-case alias for `HTMLVideoElement`.

### HTMLAnchorElement

`HTMLAnchorElement`

DOM `<a>` hyperlink element interface.

### HTMLAudioElement

`HTMLAudioElement`

DOM `<audio>` media element interface.

### HTMLButtonElement

`HTMLButtonElement`

DOM `<button>` element interface.

### HTMLCanvasElement

`HTMLCanvasElement`

DOM `<canvas>` element interface (`getContext`, `toBlob`).

### HTMLDialogElement

`HTMLDialogElement`

DOM `<dialog>` element interface (`showModal`, `close`).

### HTMLElement

`HTMLElement`

DOM `HTMLElement` base interface for all HTML elements.

### HTMLFormElement

`HTMLFormElement`

DOM `<form>` element interface (`submit`, `requestSubmit`, `reportValidity`).

### HTMLImageElement

`HTMLImageElement`

DOM `<img>` image element interface.

### HTMLInputElement

`HTMLInputElement`

DOM `<input>` element interface (`.value`, `.checked`, `.files`).

### HTMLSelectElement

`HTMLSelectElement`

DOM `<select>` element interface.

### HTMLTemplateElement

`HTMLTemplateElement`

DOM `<template>` HTML template element interface.

### HTMLTextAreaElement

`HTMLTextAreaElement`

DOM `<textarea>` element interface.

### HTMLVideoElement

`HTMLVideoElement`

DOM `<video>` media element interface.

### History

`History`

Browser session `History` state stack interface.

### Input-Event

`Input-Event`

Tangu kebab-case alias for `InputEvent`.

### InputEvent

`InputEvent`

DOM live text editing input event interface.

### Intersection-Observer

`Intersection-Observer`

Tangu kebab-case alias for `IntersectionObserver`.

### IntersectionObserver

`IntersectionObserver`

Browser `IntersectionObserver` tracking element viewport/scroll intersections.

### Keyboard-Event

`Keyboard-Event`

Tangu kebab-case alias for `KeyboardEvent`.

### KeyboardEvent

`KeyboardEvent`

DOM keyboard keydown/keyup event interface.

### Location

`Location`

Browser `Location` URL and navigation interface.

### Media-Query-List

`Media-Query-List`

Tangu kebab-case alias for `MediaQueryList`.

### MediaQueryList

`MediaQueryList`

Evaluated CSS media query state with change listener support.

### Mouse-Event

`Mouse-Event`

Tangu kebab-case alias for `MouseEvent`.

### MouseEvent

`MouseEvent`

DOM pointer/mouse click and movement event interface.

### Mutation-Observer

`Mutation-Observer`

Tangu kebab-case alias for `MutationObserver`.

### MutationObserver

`MutationObserver`

Browser `MutationObserver` watching DOM subtree and attribute changes.

### Navigator

`Navigator`

Browser `Navigator` user-agent and capability interface.

### Node

`Node`

Base DOM `Node` interface inherited by elements, text nodes, and documents.

### Node-List

`Node-List`

Tangu kebab-case alias for `NodeList`.

### NodeList

`NodeList`

DOM `NodeList` collection returned by `querySelectorAll`.

### Pointer-Event

`Pointer-Event`

Tangu kebab-case alias for `PointerEvent`.

### PointerEvent

`PointerEvent`

Unified pointer/mouse/pen/touch event interface.

### Resize-Observer

`Resize-Observer`

Tangu kebab-case alias for `ResizeObserver`.

### ResizeObserver

`ResizeObserver`

Browser `ResizeObserver` reacting to element border/content-box size changes.

### SVG-Element

`SVG-Element`

Tangu kebab-case alias for `SVGElement`.

### SVGElement

`SVGElement`

DOM base interface for `<svg>` and SVG graphics elements.

### Shadow-Root

`Shadow-Root`

Tangu kebab-case alias for DOM `ShadowRoot`.

### ShadowRoot

`ShadowRoot`

DOM `ShadowRoot` interface representing encapsulated component subtrees.

### Storage

`Storage`

Web Storage interface backing `localStorage` and `sessionStorage`.

### Submit-Event

`Submit-Event`

Tangu kebab-case alias for `SubmitEvent`.

### SubmitEvent

`SubmitEvent`

DOM form submission event interface exposing `.submitter`.

### Touch-Event

`Touch-Event`

Tangu kebab-case alias for `TouchEvent`.

### TouchEvent

`TouchEvent`

DOM mobile multi-touch gesture event interface.

### Transition-Event

`Transition-Event`

Tangu kebab-case alias for `TransitionEvent`.

### TransitionEvent

`TransitionEvent`

DOM CSS transition completion event interface.

### Wheel-Event

`Wheel-Event`

Tangu kebab-case alias for `WheelEvent`.

### WheelEvent

`WheelEvent`

DOM mouse wheel and trackpad scroll event interface.

### Window

`Window`

DOM `Window` interface constructor/type for JS targets.

### cancelAnimationFrame

`cancelAnimationFrame`

Cancels a previously scheduled `requestAnimationFrame` callback.

### customElements

`customElements`

Browser `CustomElementRegistry` for defining Custom Elements.

### document

`document`

Ambient DOM `Document` global object for querying and mutating the page tree.

### getComputedStyle

`getComputedStyle`

Returns resolved `CSSStyleDeclaration` values for a DOM `Element`.

### history

`history`

Browser `History` API (`pushState`, `replaceState`, `back`, `forward`).

### localStorage

`localStorage`

Persistent per-origin key-value Web `Storage` global.

### location

`location`

Browser `Location` object representing and navigating the current document URL.

### matchMedia

`matchMedia`

Creates a `MediaQueryList` evaluating a CSS media query against the viewport.

### navigator

`navigator`

Browser `Navigator` object exposing user agent, clipboard, serviceWorker, and platform APIs.

### requestAnimationFrame

`requestAnimationFrame`

Schedules a callback before the next browser repaint cycle.

### sessionStorage

`sessionStorage`

Per-tab session-scoped key-value Web `Storage` global.

### window

`window`

Ambient browser `window` global object for JavaScript compilation targets.
