/repr/js/dom
Typed Browser DOM and Document/Element interop bindings when compiling Tangu to JavaScript.
Functions & symbols#
Animation-Event#
Tangu kebab-case alias for `AnimationEvent`.
AnyAnimationEvent#
DOM CSS keyframe animation lifecycle event interface.
AnyCSS-Style-Declaration#
Tangu kebab-case alias for `CSSStyleDeclaration`.
AnyCSSStyleDeclaration#
Inline/computed CSS style property map (`element.style`).
AnyCanvas-Rendering-Context-2D#
Tangu kebab-case alias for `CanvasRenderingContext2D`.
AnyCanvasRenderingContext2D#
2D Canvas immediate-mode drawing context.
AnyClipboard-Event#
Tangu kebab-case alias for `ClipboardEvent`.
AnyClipboardEvent#
DOM copy/cut/paste clipboard event interface.
AnyCustom-Event#
Tangu kebab-case alias for `CustomEvent`.
AnyCustomEvent#
DOM `CustomEvent` constructor carrying arbitrary `:detail` payloads.
AnyDOM-Rect#
Tangu kebab-case alias for `DOMRect`.
AnyDOM-Token-List#
Tangu kebab-case alias for `DOMTokenList`.
AnyDOMRect#
Bounding box dimensions and viewport offsets returned by `getBoundingClientRect()`.
AnyDOMTokenList#
DOM `classList` / `relList` token collection (`add`, `remove`, `toggle`).
AnyDocument#
DOM `Document` interface constructor/type for JS targets.
AnyDocument-Fragment#
Tangu kebab-case alias for DOM `DocumentFragment`.
AnyDocumentFragment#
Lightweight offscreen DOM `DocumentFragment` container.
AnyDrag-Event#
Tangu kebab-case alias for `DragEvent`.
AnyDragEvent#
DOM HTML5 drag-and-drop event interface.
AnyElement#
DOM `Element` interface for attributes, classes, selectors, and layout.
AnyEvent#
DOM `Event` base constructor/interface.
AnyFocus-Event#
Tangu kebab-case alias for `FocusEvent`.
AnyFocusEvent#
DOM focus/blur transition event interface.
AnyHTML-Anchor-Element#
Tangu kebab-case alias for `HTMLAnchorElement`.
AnyHTML-Audio-Element#
Tangu kebab-case alias for `HTMLAudioElement`.
AnyHTML-Canvas-Element#
Tangu kebab-case alias for `HTMLCanvasElement`.
AnyHTML-Dialog-Element#
Tangu kebab-case alias for `HTMLDialogElement`.
AnyHTML-Element#
Tangu kebab-case alias for `HTMLElement`.
AnyHTML-Form-Element#
Tangu kebab-case alias for `HTMLFormElement`.
AnyHTML-Image-Element#
Tangu kebab-case alias for `HTMLImageElement`.
AnyHTML-Input-Element#
Tangu kebab-case alias for `HTMLInputElement`.
AnyHTML-Select-Element#
Tangu kebab-case alias for `HTMLSelectElement`.
AnyHTML-Template-Element#
Tangu kebab-case alias for `HTMLTemplateElement`.
AnyHTML-Text-Area-Element#
Tangu kebab-case alias for `HTMLTextAreaElement`.
AnyHTML-Video-Element#
Tangu kebab-case alias for `HTMLVideoElement`.
AnyHTMLAnchorElement#
DOM `<a>` hyperlink element interface.
AnyHTMLAudioElement#
DOM `<audio>` media element interface.
AnyHTMLCanvasElement#
DOM `<canvas>` element interface (`getContext`, `toBlob`).
AnyHTMLDialogElement#
DOM `<dialog>` element interface (`showModal`, `close`).
AnyHTMLElement#
DOM `HTMLElement` base interface for all HTML elements.
AnyHTMLFormElement#
DOM `<form>` element interface (`submit`, `requestSubmit`, `reportValidity`).
AnyHTMLImageElement#
DOM `<img>` image element interface.
AnyHTMLInputElement#
DOM `<input>` element interface (`.value`, `.checked`, `.files`).
AnyHTMLSelectElement#
DOM `<select>` element interface.
AnyHTMLTemplateElement#
DOM `<template>` HTML template element interface.
AnyHTMLTextAreaElement#
DOM `<textarea>` element interface.
AnyHTMLVideoElement#
DOM `<video>` media element interface.
AnyHistory#
Browser session `History` state stack interface.
AnyInput-Event#
Tangu kebab-case alias for `InputEvent`.
AnyInputEvent#
DOM live text editing input event interface.
AnyIntersection-Observer#
Tangu kebab-case alias for `IntersectionObserver`.
AnyIntersectionObserver#
Browser `IntersectionObserver` tracking element viewport/scroll intersections.
AnyKeyboard-Event#
Tangu kebab-case alias for `KeyboardEvent`.
AnyKeyboardEvent#
DOM keyboard keydown/keyup event interface.
AnyLocation#
Browser `Location` URL and navigation interface.
AnyMedia-Query-List#
Tangu kebab-case alias for `MediaQueryList`.
AnyMediaQueryList#
Evaluated CSS media query state with change listener support.
AnyMouse-Event#
Tangu kebab-case alias for `MouseEvent`.
AnyMouseEvent#
DOM pointer/mouse click and movement event interface.
AnyMutation-Observer#
Tangu kebab-case alias for `MutationObserver`.
AnyMutationObserver#
Browser `MutationObserver` watching DOM subtree and attribute changes.
AnyNode#
Base DOM `Node` interface inherited by elements, text nodes, and documents.
AnyNode-List#
Tangu kebab-case alias for `NodeList`.
AnyNodeList#
DOM `NodeList` collection returned by `querySelectorAll`.
AnyPointer-Event#
Tangu kebab-case alias for `PointerEvent`.
AnyPointerEvent#
Unified pointer/mouse/pen/touch event interface.
AnyResize-Observer#
Tangu kebab-case alias for `ResizeObserver`.
AnyResizeObserver#
Browser `ResizeObserver` reacting to element border/content-box size changes.
AnySVG-Element#
Tangu kebab-case alias for `SVGElement`.
AnySVGElement#
DOM base interface for `<svg>` and SVG graphics elements.
AnyShadow-Root#
Tangu kebab-case alias for DOM `ShadowRoot`.
AnyShadowRoot#
DOM `ShadowRoot` interface representing encapsulated component subtrees.
AnyStorage#
Web Storage interface backing `localStorage` and `sessionStorage`.
AnySubmit-Event#
Tangu kebab-case alias for `SubmitEvent`.
AnySubmitEvent#
DOM form submission event interface exposing `.submitter`.
AnyTouch-Event#
Tangu kebab-case alias for `TouchEvent`.
AnyTouchEvent#
DOM mobile multi-touch gesture event interface.
AnyTransition-Event#
Tangu kebab-case alias for `TransitionEvent`.
AnyTransitionEvent#
DOM CSS transition completion event interface.
AnyWheel-Event#
Tangu kebab-case alias for `WheelEvent`.
AnyWheelEvent#
DOM mouse wheel and trackpad scroll event interface.
AnyWindow#
DOM `Window` interface constructor/type for JS targets.
AnycancelAnimationFrame#
Cancels a previously scheduled `requestAnimationFrame` callback.
AnycustomElements#
Browser `CustomElementRegistry` for defining Custom Elements.
Anydocument#
Ambient DOM `Document` global object for querying and mutating the page tree.
AnygetComputedStyle#
Returns resolved `CSSStyleDeclaration` values for a DOM `Element`.
Anyhistory#
Browser `History` API (`pushState`, `replaceState`, `back`, `forward`).
AnylocalStorage#
Persistent per-origin key-value Web `Storage` global.
Anylocation#
Browser `Location` object representing and navigating the current document URL.
AnymatchMedia#
Creates a `MediaQueryList` evaluating a CSS media query against the viewport.
AnyrequestAnimationFrame#
Schedules a callback before the next browser repaint cycle.
AnysessionStorage#
Per-tab session-scoped key-value Web `Storage` global.
Anywindow#
Ambient browser `window` global object for JavaScript compilation targets.
Any