/** THIS FILE IS GENERATED BY `./jsx-update.mjs`. PLEASE UPDATE `jsx-h.d.ts` INSTEAD AND RUN `pnpm jsx-sync-types`. */ import * as csstype from "csstype"; /** * Based on JSX types for Surplus and Inferno and adapted for `dom-expressions`. * * https://github.com/adamhaile/surplus/blob/master/index.d.ts * https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts * * MathML typings coming mostly from Preact * https://github.com/preactjs/preact/blob/07dc9f324e58569ce66634aa03fe8949b4190358/src/jsx.d.ts#L2575 * * Checked against other frameworks via the following table: * https://potahtml.github.io/namespace-jsx-project/index.html */ type DOMElement = Element; export namespace JSX { // START - difference between `jsx.d.ts` and `jsx-h.d.ts` type FunctionMaybe = { (): T } | T; interface FunctionElement { (): Element; } type Element = Node | ArrayElement | (string & {}) | number | boolean | null | undefined; // END - difference between `jsx.d.ts` and `jsx-h.d.ts` interface ArrayElement extends Array {} interface ElementClass { // empty, libs can define requirements downstream } interface ElementAttributesProperty { // empty, libs can define requirements downstream } interface ElementChildrenAttribute { children: {}; } // Event handlers interface EventHandler { ( e: E & { currentTarget: T; target: DOMElement; } ): void; } interface BoundEventHandler< T, E extends Event, EHandler extends EventHandler = EventHandler > { 0: (data: any, ...e: Parameters) => void; 1: any; } type EventHandlerUnion< T, E extends Event, EHandler extends EventHandler = EventHandler > = EHandler | BoundEventHandler; interface EventHandlerWithOptions> extends AddEventListenerOptions, EventListenerOptions { handleEvent: EHandler; } type EventHandlerWithOptionsUnion< T, E extends Event, EHandler extends EventHandler = EventHandler > = EHandler | EventHandlerWithOptions; interface InputEventHandler { ( e: E & { currentTarget: T; target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement; } ): void; } type InputEventHandlerUnion = EventHandlerUnion< T, E, InputEventHandler >; interface ChangeEventHandler { ( e: E & { currentTarget: T; target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement; } ): void; } type ChangeEventHandlerUnion = EventHandlerUnion< T, E, ChangeEventHandler >; interface FocusEventHandler { ( e: E & { currentTarget: T; target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement; } ): void; } type FocusEventHandlerUnion = EventHandlerUnion< T, E, FocusEventHandler >; // end event handlers const SERIALIZABLE: unique symbol; interface SerializableAttributeValue { toString(): string; [SERIALIZABLE]: never; } interface IntrinsicAttributes { ref?: unknown | ((e: unknown) => void) | undefined; } interface CustomAttributes { ref?: T | ((el: T) => void) | undefined; children?: Element | undefined; classList?: | { [k: string]: boolean | undefined; } | undefined; $ServerOnly?: boolean | undefined; } type Accessor = () => T; interface Directives {} interface DirectiveFunctions { [x: string]: (el: DOMElement, accessor: Accessor) => void; } interface ExplicitProperties {} interface ExplicitAttributes {} interface ExplicitBoolAttributes {} interface CustomEvents {} /** @deprecated Replaced by CustomEvents */ interface CustomCaptureEvents {} type DirectiveAttributes = { [Key in keyof Directives as `use:${Key}`]?: Directives[Key]; }; type DirectiveFunctionAttributes = { [K in keyof DirectiveFunctions as string extends K ? never : `use:${K}`]?: DirectiveFunctions[K] extends ( el: infer E, // will be unknown if not provided ...rest: infer R // use rest so that we can check whether it's provided or not ) => void ? T extends E // everything extends unknown if E is unknown ? R extends [infer A] // check if has accessor provided ? A extends Accessor ? V // it's an accessor : never // it isn't, type error : true // no accessor provided : never // T is the wrong element : never; // it isn't a function }; type PropAttributes = { [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key]; }; type AttrAttributes = { [Key in keyof ExplicitAttributes as `attr:${Key}`]?: ExplicitAttributes[Key]; }; type BoolAttributes = { [Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?: ExplicitBoolAttributes[Key]; }; type OnAttributes = { [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion; }; type OnCaptureAttributes = { [Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler< T, CustomCaptureEvents[Key] >; }; // events /** * `Window` events, defined for ``, ``, `` tags. * * Excluding `Elements events` already defined as globals that all tags share, such as `onblur`. */ interface WindowEventMap { onAfterPrint?: EventHandlerUnion | undefined; onBeforePrint?: EventHandlerUnion | undefined; onBeforeUnload?: EventHandlerUnion | undefined; onGamepadConnected?: EventHandlerUnion | undefined; onGamepadDisconnected?: EventHandlerUnion | undefined; onHashchange?: EventHandlerUnion | undefined; onLanguageChange?: EventHandlerUnion | undefined; onMessage?: EventHandlerUnion | undefined; onMessageError?: EventHandlerUnion | undefined; onOffline?: EventHandlerUnion | undefined; onOnline?: EventHandlerUnion | undefined; onPageHide?: EventHandlerUnion | undefined; // TODO `PageRevealEvent` is currently undefined on TS onPageReveal?: EventHandlerUnion | undefined; onPageShow?: EventHandlerUnion | undefined; // TODO `PageSwapEvent` is currently undefined on TS onPageSwap?: EventHandlerUnion | undefined; onPopstate?: EventHandlerUnion | undefined; onRejectionHandled?: EventHandlerUnion | undefined; onStorage?: EventHandlerUnion | undefined; onUnhandledRejection?: EventHandlerUnion | undefined; onUnload?: EventHandlerUnion | undefined; onafterprint?: EventHandlerUnion | undefined; onbeforeprint?: EventHandlerUnion | undefined; onbeforeunload?: EventHandlerUnion | undefined; ongamepadconnected?: EventHandlerUnion | undefined; ongamepaddisconnected?: EventHandlerUnion | undefined; onhashchange?: EventHandlerUnion | undefined; onlanguagechange?: EventHandlerUnion | undefined; onmessage?: EventHandlerUnion | undefined; onmessageerror?: EventHandlerUnion | undefined; onoffline?: EventHandlerUnion | undefined; ononline?: EventHandlerUnion | undefined; onpagehide?: EventHandlerUnion | undefined; // TODO `PageRevealEvent` is currently undefined in TS onpagereveal?: EventHandlerUnion | undefined; onpageshow?: EventHandlerUnion | undefined; // TODO `PageSwapEvent` is currently undefined in TS onpageswap?: EventHandlerUnion | undefined; onpopstate?: EventHandlerUnion | undefined; onrejectionhandled?: EventHandlerUnion | undefined; onstorage?: EventHandlerUnion | undefined; onunhandledrejection?: EventHandlerUnion | undefined; onunload?: EventHandlerUnion | undefined; "on:afterprint"?: EventHandlerWithOptionsUnion | undefined; "on:beforeprint"?: EventHandlerWithOptionsUnion | undefined; "on:beforeunload"?: EventHandlerWithOptionsUnion | undefined; "on:gamepadconnected"?: EventHandlerWithOptionsUnion | undefined; "on:gamepaddisconnected"?: EventHandlerWithOptionsUnion | undefined; "on:hashchange"?: EventHandlerWithOptionsUnion | undefined; "on:languagechange"?: EventHandlerWithOptionsUnion | undefined; "on:message"?: EventHandlerWithOptionsUnion | undefined; "on:messageerror"?: EventHandlerWithOptionsUnion | undefined; "on:offline"?: EventHandlerWithOptionsUnion | undefined; "on:online"?: EventHandlerWithOptionsUnion | undefined; "on:pagehide"?: EventHandlerWithOptionsUnion | undefined; // TODO `PageRevealEvent` is currently undefined in TS "on:pagereveal"?: EventHandlerWithOptionsUnion | undefined; "on:pageshow"?: EventHandlerWithOptionsUnion | undefined; // TODO `PageSwapEvent` is currently undefined in TS "on:pageswap"?: EventHandlerWithOptionsUnion | undefined; "on:popstate"?: EventHandlerWithOptionsUnion | undefined; "on:rejectionhandled"?: EventHandlerWithOptionsUnion | undefined; "on:storage"?: EventHandlerWithOptionsUnion | undefined; "on:unhandledrejection"?: EventHandlerWithOptionsUnion | undefined; "on:unload"?: EventHandlerWithOptionsUnion | undefined; } /** * Global `Elements events`, defined for all tags. * * That's events defined and shared by all of the `HTMLElement/SVGElement/MathMLElement` * interfaces. * * Includes events defined for the `Element` interface. */ interface CustomEventHandlersCamelCase { onAbort?: EventHandlerUnion | undefined; onAnimationCancel?: EventHandlerUnion | undefined; onAnimationEnd?: EventHandlerUnion | undefined; onAnimationIteration?: EventHandlerUnion | undefined; onAnimationStart?: EventHandlerUnion | undefined; onAuxClick?: EventHandlerUnion | undefined; onBeforeCopy?: EventHandlerUnion | undefined; onBeforeCut?: EventHandlerUnion | undefined; onBeforeInput?: InputEventHandlerUnion | undefined; onBeforeMatch?: EventHandlerUnion | undefined; onBeforePaste?: EventHandlerUnion | undefined; onBeforeToggle?: EventHandlerUnion | undefined; onBeforeXRSelect?: EventHandlerUnion | undefined; onBlur?: FocusEventHandlerUnion | undefined; onCancel?: EventHandlerUnion | undefined; onCanPlay?: EventHandlerUnion | undefined; onCanPlayThrough?: EventHandlerUnion | undefined; onChange?: ChangeEventHandlerUnion | undefined; onClick?: EventHandlerUnion | undefined; onClose?: EventHandlerUnion | undefined; // TODO `CommandEvent` is currently undefined in TS onCommand?: EventHandlerUnion | undefined; onCompositionEnd?: EventHandlerUnion | undefined; onCompositionStart?: EventHandlerUnion | undefined; onCompositionUpdate?: EventHandlerUnion | undefined; onContentVisibilityAutoStateChange?: | EventHandlerUnion | undefined; onContextLost?: EventHandlerUnion | undefined; onContextMenu?: EventHandlerUnion | undefined; onContextRestored?: EventHandlerUnion | undefined; onCopy?: EventHandlerUnion | undefined; onCueChange?: EventHandlerUnion | undefined; onCut?: EventHandlerUnion | undefined; onDblClick?: EventHandlerUnion | undefined; onDrag?: EventHandlerUnion | undefined; onDragEnd?: EventHandlerUnion | undefined; onDragEnter?: EventHandlerUnion | undefined; onDragExit?: EventHandlerUnion | undefined; onDragLeave?: EventHandlerUnion | undefined; onDragOver?: EventHandlerUnion | undefined; onDragStart?: EventHandlerUnion | undefined; onDrop?: EventHandlerUnion | undefined; onDurationChange?: EventHandlerUnion | undefined; onEmptied?: EventHandlerUnion | undefined; onEnded?: EventHandlerUnion | undefined; onError?: EventHandlerUnion | undefined; onFocus?: FocusEventHandlerUnion | undefined; onFocusIn?: FocusEventHandlerUnion | undefined; onFocusOut?: FocusEventHandlerUnion | undefined; onFormData?: EventHandlerUnion | undefined; onFullscreenChange?: EventHandlerUnion | undefined; onFullscreenError?: EventHandlerUnion | undefined; onGotPointerCapture?: EventHandlerUnion | undefined; onInput?: InputEventHandlerUnion | undefined; onInvalid?: EventHandlerUnion | undefined; onKeyDown?: EventHandlerUnion | undefined; onKeyPress?: EventHandlerUnion | undefined; onKeyUp?: EventHandlerUnion | undefined; onLoad?: EventHandlerUnion | undefined; onLoadedData?: EventHandlerUnion | undefined; onLoadedMetadata?: EventHandlerUnion | undefined; onLoadStart?: EventHandlerUnion | undefined; onLostPointerCapture?: EventHandlerUnion | undefined; onMouseDown?: EventHandlerUnion | undefined; onMouseEnter?: EventHandlerUnion | undefined; onMouseLeave?: EventHandlerUnion | undefined; onMouseMove?: EventHandlerUnion | undefined; onMouseOut?: EventHandlerUnion | undefined; onMouseOver?: EventHandlerUnion | undefined; onMouseUp?: EventHandlerUnion | undefined; onPaste?: EventHandlerUnion | undefined; onPause?: EventHandlerUnion | undefined; onPlay?: EventHandlerUnion | undefined; onPlaying?: EventHandlerUnion | undefined; onPointerCancel?: EventHandlerUnion | undefined; onPointerDown?: EventHandlerUnion | undefined; onPointerEnter?: EventHandlerUnion | undefined; onPointerLeave?: EventHandlerUnion | undefined; onPointerMove?: EventHandlerUnion | undefined; onPointerOut?: EventHandlerUnion | undefined; onPointerOver?: EventHandlerUnion | undefined; onPointerRawUpdate?: EventHandlerUnion | undefined; onPointerUp?: EventHandlerUnion | undefined; onProgress?: EventHandlerUnion | undefined; onRateChange?: EventHandlerUnion | undefined; onReset?: EventHandlerUnion | undefined; onResize?: EventHandlerUnion | undefined; onScroll?: EventHandlerUnion | undefined; onScrollEnd?: EventHandlerUnion | undefined; // todo `SnapEvent` is currently undefined in TS onScrollSnapChange?: EventHandlerUnion | undefined; // todo `SnapEvent` is currently undefined in TS onScrollSnapChanging?: EventHandlerUnion | undefined; onSecurityPolicyViolation?: EventHandlerUnion | undefined; onSeeked?: EventHandlerUnion | undefined; onSeeking?: EventHandlerUnion | undefined; onSelect?: EventHandlerUnion | undefined; onSelectionChange?: EventHandlerUnion | undefined; onSelectStart?: EventHandlerUnion | undefined; onSlotChange?: EventHandlerUnion | undefined; onStalled?: EventHandlerUnion | undefined; onSubmit?: EventHandlerUnion | undefined; onSuspend?: EventHandlerUnion | undefined; onTimeUpdate?: EventHandlerUnion | undefined; onToggle?: EventHandlerUnion | undefined; onTouchCancel?: EventHandlerUnion | undefined; onTouchEnd?: EventHandlerUnion | undefined; onTouchMove?: EventHandlerUnion | undefined; onTouchStart?: EventHandlerUnion | undefined; onTransitionCancel?: EventHandlerUnion | undefined; onTransitionEnd?: EventHandlerUnion | undefined; onTransitionRun?: EventHandlerUnion | undefined; onTransitionStart?: EventHandlerUnion | undefined; onVolumeChange?: EventHandlerUnion | undefined; onWaiting?: EventHandlerUnion | undefined; onWheel?: EventHandlerUnion | undefined; } /** @type {GlobalEventHandlers} */ interface CustomEventHandlersLowerCase { onabort?: EventHandlerUnion | undefined; onanimationcancel?: EventHandlerUnion | undefined; onanimationend?: EventHandlerUnion | undefined; onanimationiteration?: EventHandlerUnion | undefined; onanimationstart?: EventHandlerUnion | undefined; onauxclick?: EventHandlerUnion | undefined; onbeforecopy?: EventHandlerUnion | undefined; onbeforecut?: EventHandlerUnion | undefined; onbeforeinput?: InputEventHandlerUnion | undefined; onbeforematch?: EventHandlerUnion | undefined; onbeforepaste?: EventHandlerUnion | undefined; onbeforetoggle?: EventHandlerUnion | undefined; onbeforexrselect?: EventHandlerUnion | undefined; onblur?: FocusEventHandlerUnion | undefined; oncancel?: EventHandlerUnion | undefined; oncanplay?: EventHandlerUnion | undefined; oncanplaythrough?: EventHandlerUnion | undefined; onchange?: ChangeEventHandlerUnion | undefined; onclick?: EventHandlerUnion | undefined; onclose?: EventHandlerUnion | undefined; // TODO `CommandEvent` is currently undefined in TS oncommand?: EventHandlerUnion | undefined; oncompositionend?: EventHandlerUnion | undefined; oncompositionstart?: EventHandlerUnion | undefined; oncompositionupdate?: EventHandlerUnion | undefined; oncontentvisibilityautostatechange?: | EventHandlerUnion | undefined; oncontextlost?: EventHandlerUnion | undefined; oncontextmenu?: EventHandlerUnion | undefined; oncontextrestored?: EventHandlerUnion | undefined; oncopy?: EventHandlerUnion | undefined; oncuechange?: EventHandlerUnion | undefined; oncut?: EventHandlerUnion | undefined; ondblclick?: EventHandlerUnion | undefined; ondrag?: EventHandlerUnion | undefined; ondragend?: EventHandlerUnion | undefined; ondragenter?: EventHandlerUnion | undefined; ondragexit?: EventHandlerUnion | undefined; ondragleave?: EventHandlerUnion | undefined; ondragover?: EventHandlerUnion | undefined; ondragstart?: EventHandlerUnion | undefined; ondrop?: EventHandlerUnion | undefined; ondurationchange?: EventHandlerUnion | undefined; onemptied?: EventHandlerUnion | undefined; onended?: EventHandlerUnion | undefined; onerror?: EventHandlerUnion | undefined; onfocus?: FocusEventHandlerUnion | undefined; onfocusin?: FocusEventHandlerUnion | undefined; onfocusout?: FocusEventHandlerUnion | undefined; onformdata?: EventHandlerUnion | undefined; onfullscreenchange?: EventHandlerUnion | undefined; onfullscreenerror?: EventHandlerUnion | undefined; ongotpointercapture?: EventHandlerUnion | undefined; oninput?: InputEventHandlerUnion | undefined; oninvalid?: EventHandlerUnion | undefined; onkeydown?: EventHandlerUnion | undefined; onkeypress?: EventHandlerUnion | undefined; onkeyup?: EventHandlerUnion | undefined; onload?: EventHandlerUnion | undefined; onloadeddata?: EventHandlerUnion | undefined; onloadedmetadata?: EventHandlerUnion | undefined; onloadstart?: EventHandlerUnion | undefined; onlostpointercapture?: EventHandlerUnion | undefined; onmousedown?: EventHandlerUnion | undefined; onmouseenter?: EventHandlerUnion | undefined; onmouseleave?: EventHandlerUnion | undefined; onmousemove?: EventHandlerUnion | undefined; onmouseout?: EventHandlerUnion | undefined; onmouseover?: EventHandlerUnion | undefined; onmouseup?: EventHandlerUnion | undefined; onpaste?: EventHandlerUnion | undefined; onpause?: EventHandlerUnion | undefined; onplay?: EventHandlerUnion | undefined; onplaying?: EventHandlerUnion | undefined; onpointercancel?: EventHandlerUnion | undefined; onpointerdown?: EventHandlerUnion | undefined; onpointerenter?: EventHandlerUnion | undefined; onpointerleave?: EventHandlerUnion | undefined; onpointermove?: EventHandlerUnion | undefined; onpointerout?: EventHandlerUnion | undefined; onpointerover?: EventHandlerUnion | undefined; onpointerrawupdate?: EventHandlerUnion | undefined; onpointerup?: EventHandlerUnion | undefined; onprogress?: EventHandlerUnion | undefined; onratechange?: EventHandlerUnion | undefined; onreset?: EventHandlerUnion | undefined; onresize?: EventHandlerUnion | undefined; onscroll?: EventHandlerUnion | undefined; onscrollend?: EventHandlerUnion | undefined; // todo `SnapEvent` is currently undefined in TS onscrollsnapchange?: EventHandlerUnion | undefined; // todo `SnapEvent` is currently undefined in TS onscrollsnapchanging?: EventHandlerUnion | undefined; onsecuritypolicyviolation?: EventHandlerUnion | undefined; onseeked?: EventHandlerUnion | undefined; onseeking?: EventHandlerUnion | undefined; onselect?: EventHandlerUnion | undefined; onselectionchange?: EventHandlerUnion | undefined; onselectstart?: EventHandlerUnion | undefined; onslotchange?: EventHandlerUnion | undefined; onstalled?: EventHandlerUnion | undefined; onsubmit?: EventHandlerUnion | undefined; onsuspend?: EventHandlerUnion | undefined; ontimeupdate?: EventHandlerUnion | undefined; ontoggle?: EventHandlerUnion | undefined; ontouchcancel?: EventHandlerUnion | undefined; ontouchend?: EventHandlerUnion | undefined; ontouchmove?: EventHandlerUnion | undefined; ontouchstart?: EventHandlerUnion | undefined; ontransitioncancel?: EventHandlerUnion | undefined; ontransitionend?: EventHandlerUnion | undefined; ontransitionrun?: EventHandlerUnion | undefined; ontransitionstart?: EventHandlerUnion | undefined; onvolumechange?: EventHandlerUnion | undefined; onwaiting?: EventHandlerUnion | undefined; onwheel?: EventHandlerUnion | undefined; } interface CustomEventHandlersNamespaced { "on:abort"?: EventHandlerWithOptionsUnion | undefined; "on:animationcancel"?: EventHandlerWithOptionsUnion | undefined; "on:animationend"?: EventHandlerWithOptionsUnion | undefined; "on:animationiteration"?: EventHandlerWithOptionsUnion | undefined; "on:animationstart"?: EventHandlerWithOptionsUnion | undefined; "on:auxclick"?: EventHandlerWithOptionsUnion | undefined; "on:beforecopy"?: EventHandlerWithOptionsUnion | undefined; "on:beforecut"?: EventHandlerWithOptionsUnion | undefined; "on:beforeinput"?: | EventHandlerWithOptionsUnion> | undefined; "on:beforematch"?: EventHandlerWithOptionsUnion | undefined; "on:beforepaste"?: EventHandlerWithOptionsUnion | undefined; "on:beforetoggle"?: EventHandlerWithOptionsUnion | undefined; "on:beforexrselect"?: EventHandlerWithOptionsUnion | undefined; "on:blur"?: | EventHandlerWithOptionsUnion> | undefined; "on:cancel"?: EventHandlerWithOptionsUnion | undefined; "on:canplay"?: EventHandlerWithOptionsUnion | undefined; "on:canplaythrough"?: EventHandlerWithOptionsUnion | undefined; "on:change"?: EventHandlerWithOptionsUnion> | undefined; "on:click"?: EventHandlerWithOptionsUnion | undefined; "on:close"?: EventHandlerWithOptionsUnion | undefined; // TODO `CommandEvent` is currently undefined in TS "on:command"?: EventHandlerWithOptionsUnion | undefined; "on:compositionend"?: EventHandlerWithOptionsUnion | undefined; "on:compositionstart"?: EventHandlerWithOptionsUnion | undefined; "on:compositionupdate"?: EventHandlerWithOptionsUnion | undefined; "on:contentvisibilityautostatechange"?: | EventHandlerWithOptionsUnion | undefined; "on:contextlost"?: EventHandlerWithOptionsUnion | undefined; "on:contextmenu"?: EventHandlerWithOptionsUnion | undefined; "on:contextrestored"?: EventHandlerWithOptionsUnion | undefined; "on:copy"?: EventHandlerWithOptionsUnion | undefined; "on:cuechange"?: EventHandlerWithOptionsUnion | undefined; "on:cut"?: EventHandlerWithOptionsUnion | undefined; "on:dblclick"?: EventHandlerWithOptionsUnion | undefined; "on:drag"?: EventHandlerWithOptionsUnion | undefined; "on:dragend"?: EventHandlerWithOptionsUnion | undefined; "on:dragenter"?: EventHandlerWithOptionsUnion | undefined; "on:dragexit"?: EventHandlerWithOptionsUnion | undefined; "on:dragleave"?: EventHandlerWithOptionsUnion | undefined; "on:dragover"?: EventHandlerWithOptionsUnion | undefined; "on:dragstart"?: EventHandlerWithOptionsUnion | undefined; "on:drop"?: EventHandlerWithOptionsUnion | undefined; "on:durationchange"?: EventHandlerWithOptionsUnion | undefined; "on:emptied"?: EventHandlerWithOptionsUnion | undefined; "on:ended"?: EventHandlerWithOptionsUnion | undefined; "on:error"?: EventHandlerWithOptionsUnion | undefined; "on:focus"?: | EventHandlerWithOptionsUnion> | undefined; "on:focusin"?: | EventHandlerWithOptionsUnion> | undefined; "on:focusout"?: | EventHandlerWithOptionsUnion> | undefined; "on:formdata"?: EventHandlerWithOptionsUnion | undefined; "on:fullscreenchange"?: EventHandlerWithOptionsUnion | undefined; "on:fullscreenerror"?: EventHandlerWithOptionsUnion | undefined; "on:gotpointercapture"?: EventHandlerWithOptionsUnion | undefined; "on:input"?: | EventHandlerWithOptionsUnion> | undefined; "on:invalid"?: EventHandlerWithOptionsUnion | undefined; "on:keydown"?: EventHandlerWithOptionsUnion | undefined; "on:keypress"?: EventHandlerWithOptionsUnion | undefined; "on:keyup"?: EventHandlerWithOptionsUnion | undefined; "on:load"?: EventHandlerWithOptionsUnion | undefined; "on:loadeddata"?: EventHandlerWithOptionsUnion | undefined; "on:loadedmetadata"?: EventHandlerWithOptionsUnion | undefined; "on:loadstart"?: EventHandlerWithOptionsUnion | undefined; "on:lostpointercapture"?: EventHandlerWithOptionsUnion | undefined; "on:mousedown"?: EventHandlerWithOptionsUnion | undefined; "on:mouseenter"?: EventHandlerWithOptionsUnion | undefined; "on:mouseleave"?: EventHandlerWithOptionsUnion | undefined; "on:mousemove"?: EventHandlerWithOptionsUnion | undefined; "on:mouseout"?: EventHandlerWithOptionsUnion | undefined; "on:mouseover"?: EventHandlerWithOptionsUnion | undefined; "on:mouseup"?: EventHandlerWithOptionsUnion | undefined; "on:paste"?: EventHandlerWithOptionsUnion | undefined; "on:pause"?: EventHandlerWithOptionsUnion | undefined; "on:play"?: EventHandlerWithOptionsUnion | undefined; "on:playing"?: EventHandlerWithOptionsUnion | undefined; "on:pointercancel"?: EventHandlerWithOptionsUnion | undefined; "on:pointerdown"?: EventHandlerWithOptionsUnion | undefined; "on:pointerenter"?: EventHandlerWithOptionsUnion | undefined; "on:pointerleave"?: EventHandlerWithOptionsUnion | undefined; "on:pointermove"?: EventHandlerWithOptionsUnion | undefined; "on:pointerout"?: EventHandlerWithOptionsUnion | undefined; "on:pointerover"?: EventHandlerWithOptionsUnion | undefined; "on:pointerrawupdate"?: EventHandlerWithOptionsUnion | undefined; "on:pointerup"?: EventHandlerWithOptionsUnion | undefined; "on:progress"?: EventHandlerWithOptionsUnion | undefined; "on:ratechange"?: EventHandlerWithOptionsUnion | undefined; "on:reset"?: EventHandlerWithOptionsUnion | undefined; "on:resize"?: EventHandlerWithOptionsUnion | undefined; "on:scroll"?: EventHandlerWithOptionsUnion | undefined; "on:scrollend"?: EventHandlerWithOptionsUnion | undefined; // todo `SnapEvent` is currently undefined in TS "on:scrollsnapchange"?: EventHandlerWithOptionsUnion | undefined; // todo `SnapEvent` is currently undefined in TS "on:scrollsnapchanging"?: EventHandlerWithOptionsUnion | undefined; "on:securitypolicyviolation"?: | EventHandlerWithOptionsUnion | undefined; "on:seeked"?: EventHandlerWithOptionsUnion | undefined; "on:seeking"?: EventHandlerWithOptionsUnion | undefined; "on:select"?: EventHandlerWithOptionsUnion | undefined; "on:selectionchange"?: EventHandlerWithOptionsUnion | undefined; "on:selectstart"?: EventHandlerWithOptionsUnion | undefined; "on:slotchange"?: EventHandlerWithOptionsUnion | undefined; "on:stalled"?: EventHandlerWithOptionsUnion | undefined; "on:submit"?: EventHandlerWithOptionsUnion | undefined; "on:suspend"?: EventHandlerWithOptionsUnion | undefined; "on:timeupdate"?: EventHandlerWithOptionsUnion | undefined; "on:toggle"?: EventHandlerWithOptionsUnion | undefined; "on:touchcancel"?: EventHandlerWithOptionsUnion | undefined; "on:touchend"?: EventHandlerWithOptionsUnion | undefined; "on:touchmove"?: EventHandlerWithOptionsUnion | undefined; "on:touchstart"?: EventHandlerWithOptionsUnion | undefined; "on:transitioncancel"?: EventHandlerWithOptionsUnion | undefined; "on:transitionend"?: EventHandlerWithOptionsUnion | undefined; "on:transitionrun"?: EventHandlerWithOptionsUnion | undefined; "on:transitionstart"?: EventHandlerWithOptionsUnion | undefined; "on:volumechange"?: EventHandlerWithOptionsUnion | undefined; "on:waiting"?: EventHandlerWithOptionsUnion | undefined; "on:wheel"?: EventHandlerWithOptionsUnion | undefined; } /** * Global `Element` keys, defined for all tags regardless of their namespace. * * That's `keys` that are defined BY ALL `HTMLElement/SVGElement/MathMLElement` interfaces. * * Includes `keys` defined for the `Element` and `Node` interfaces. */ interface DOMAttributes extends CustomAttributes, DirectiveAttributes, DirectiveFunctionAttributes, PropAttributes, AttrAttributes, BoolAttributes, OnAttributes, OnCaptureAttributes, CustomEventHandlersCamelCase, CustomEventHandlersLowerCase, CustomEventHandlersNamespaced, AriaAttributes { // [key: ClassKeys]: boolean; // properties innerHTML?: string; textContent?: string | number; // attributes autofocus?: boolean | undefined; class?: string | undefined; elementtiming?: string | undefined; id?: string | undefined; nonce?: string | undefined; slot?: string | undefined; style?: CSSProperties | string | undefined; tabindex?: number | string | undefined; tabIndex?: number | string | undefined; } interface CSSProperties extends csstype.PropertiesHyphen { // Override [key: `-${string}`]: string | number | undefined; } type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters"; type HTMLAutocomplete = | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "billing" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "fax" | "given-name" | "home" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "mobile" | "name" | "new-password" | "nickname" | "off" | "on" | "organization" | "organization-title" | "pager" | "photo" | "postal-code" | "sex" | "shipping" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username" | "work" | (string & {}); type HTMLDir = "ltr" | "rtl" | "auto"; type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain"; type HTMLFormMethod = "post" | "get" | "dialog"; type HTMLCrossorigin = "anonymous" | "use-credentials" | ""; type HTMLReferrerPolicy = | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type HTMLIframeSandbox = | "allow-downloads-without-user-activation" | "allow-downloads" | "allow-forms" | "allow-modals" | "allow-orientation-lock" | "allow-pointer-lock" | "allow-popups" | "allow-popups-to-escape-sandbox" | "allow-presentation" | "allow-same-origin" | "allow-scripts" | "allow-storage-access-by-user-activation" | "allow-top-navigation" | "allow-top-navigation-by-user-activation" | "allow-top-navigation-to-custom-protocols"; type HTMLLinkAs = | "audio" | "document" | "embed" | "fetch" | "font" | "image" | "object" | "script" | "style" | "track" | "video" | "worker"; // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/ interface AriaAttributes { /** * Identifies the currently active element when DOM focus is on a composite widget, textbox, * group, or application. */ "aria-activedescendant"?: string | undefined; /** * Indicates whether assistive technologies will present all, or only parts of, the changed * region based on the change notifications defined by the aria-relevant attribute. */ "aria-atomic"?: boolean | "false" | "true" | undefined; /** * Similar to the global aria-label. Defines a string value that labels the current element, * which is intended to be converted into Braille. * * @see aria-label. */ "aria-braillelabel"?: string | undefined; /** * Defines a human-readable, author-localized abbreviated description for the role of an element * intended to be converted into Braille. Braille is not a one-to-one transliteration of letters * and numbers, but rather it includes various abbreviations, contractions, and characters that * represent words (known as logograms). * * Instead of converting long role descriptions to Braille, the aria-brailleroledescription * attribute allows for providing an abbreviated version of the aria-roledescription value, * which is a human-readable, author-localized description for the role of an element, for * improved user experience with braille interfaces. * * @see aria-roledescription. */ "aria-brailleroledescription"?: string | undefined; /** * Indicates whether inputting text could trigger display of one or more predictions of the * user's intended value for an input and specifies how predictions would be presented if they * are made. */ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; /** * Indicates an element is being modified and that assistive technologies MAY want to wait until * the modifications are complete before exposing them to the user. */ "aria-busy"?: boolean | "false" | "true" | undefined; /** * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. * * @see aria-pressed @see aria-selected. */ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined; /** * Defines the total number of columns in a table, grid, or treegrid. * * @see aria-colindex. */ "aria-colcount"?: number | string | undefined; /** * Defines an element's column index or position with respect to the total number of columns * within a table, grid, or treegrid. * * @see aria-colcount @see aria-colspan. */ "aria-colindex"?: number | string | undefined; /** Defines a human-readable text alternative of the numeric aria-colindex. */ "aria-colindextext"?: number | string | undefined; /** * Defines the number of columns spanned by a cell or gridcell within a table, grid, or * treegrid. * * @see aria-colindex @see aria-rowspan. */ "aria-colspan"?: number | string | undefined; /** * Identifies the element (or elements) whose contents or presence are controlled by the current * element. * * @see aria-owns. */ "aria-controls"?: string | undefined; /** * Indicates the element that represents the current item within a container or set of related * elements. */ "aria-current"?: | boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined; /** * Identifies the element (or elements) that describes the object. * * @see aria-labelledby */ "aria-describedby"?: string | undefined; /** * Defines a string value that describes or annotates the current element. * * @see aria-describedby */ "aria-description"?: string | undefined; /** * Identifies the element that provides a detailed, extended description for the object. * * @see aria-describedby. */ "aria-details"?: string | undefined; /** * Indicates that the element is perceivable but disabled, so it is not editable or otherwise * operable. * * @see aria-hidden @see aria-readonly. */ "aria-disabled"?: boolean | "false" | "true" | undefined; /** * Indicates what functions can be performed when a dragged object is released on the drop * target. * * @deprecated In ARIA 1.1 */ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined; /** * Identifies the element that provides an error message for the object. * * @see aria-invalid @see aria-describedby. */ "aria-errormessage"?: string | undefined; /** * Indicates whether the element, or another grouping element it controls, is currently expanded * or collapsed. */ "aria-expanded"?: boolean | "false" | "true" | undefined; /** * Identifies the next element (or elements) in an alternate reading order of content which, at * the user's discretion, allows assistive technology to override the general default of reading * in document source order. */ "aria-flowto"?: string | undefined; /** * Indicates an element's "grabbed" state in a drag-and-drop operation. * * @deprecated In ARIA 1.1 */ "aria-grabbed"?: boolean | "false" | "true" | undefined; /** * Indicates the availability and type of interactive popup element, such as menu or dialog, * that can be triggered by an element. */ "aria-haspopup"?: | boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined; /** * Indicates whether the element is exposed to an accessibility API. * * @see aria-disabled. */ "aria-hidden"?: boolean | "false" | "true" | undefined; /** * Indicates the entered value does not conform to the format expected by the application. * * @see aria-errormessage. */ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined; /** * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an * element. */ "aria-keyshortcuts"?: string | undefined; /** * Defines a string value that labels the current element. * * @see aria-labelledby. */ "aria-label"?: string | undefined; /** * Identifies the element (or elements) that labels the current element. * * @see aria-describedby. */ "aria-labelledby"?: string | undefined; /** Defines the hierarchical level of an element within a structure. */ "aria-level"?: number | string | undefined; /** * Indicates that an element will be updated, and describes the types of updates the user * agents, assistive technologies, and user can expect from the live region. */ "aria-live"?: "off" | "assertive" | "polite" | undefined; /** Indicates whether an element is modal when displayed. */ "aria-modal"?: boolean | "false" | "true" | undefined; /** Indicates whether a text box accepts multiple lines of input or only a single line. */ "aria-multiline"?: boolean | "false" | "true" | undefined; /** * Indicates that the user may select more than one item from the current selectable * descendants. */ "aria-multiselectable"?: boolean | "false" | "true" | undefined; /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */ "aria-orientation"?: "horizontal" | "vertical" | undefined; /** * Identifies an element (or elements) in order to define a visual, functional, or contextual * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to * represent the relationship. * * @see aria-controls. */ "aria-owns"?: string | undefined; /** * Defines a short hint (a word or short phrase) intended to aid the user with data entry when * the control has no value. A hint could be a sample value or a brief description of the * expected format. */ "aria-placeholder"?: string | undefined; /** * Defines an element's number or position in the current set of listitems or treeitems. Not * required if all elements in the set are present in the DOM. * * @see aria-setsize. */ "aria-posinset"?: number | string | undefined; /** * Indicates the current "pressed" state of toggle buttons. * * @see aria-checked @see aria-selected. */ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined; /** * Indicates that the element is not editable, but is otherwise operable. * * @see aria-disabled. */ "aria-readonly"?: boolean | "false" | "true" | undefined; /** * Indicates what notifications the user agent will trigger when the accessibility tree within a * live region is modified. * * @see aria-atomic. */ "aria-relevant"?: | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined; /** Indicates that user input is required on the element before a form may be submitted. */ "aria-required"?: boolean | "false" | "true" | undefined; /** Defines a human-readable, author-localized description for the role of an element. */ "aria-roledescription"?: string | undefined; /** * Defines the total number of rows in a table, grid, or treegrid. * * @see aria-rowindex. */ "aria-rowcount"?: number | string | undefined; /** * Defines an element's row index or position with respect to the total number of rows within a * table, grid, or treegrid. * * @see aria-rowcount @see aria-rowspan. */ "aria-rowindex"?: number | string | undefined; /** Defines a human-readable text alternative of aria-rowindex. */ "aria-rowindextext"?: number | string | undefined; /** * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. * * @see aria-rowindex @see aria-colspan. */ "aria-rowspan"?: number | string | undefined; /** * Indicates the current "selected" state of various widgets. * * @see aria-checked @see aria-pressed. */ "aria-selected"?: boolean | "false" | "true" | undefined; /** * Defines the number of items in the current set of listitems or treeitems. Not required if all * elements in the set are present in the DOM. * * @see aria-posinset. */ "aria-setsize"?: number | string | undefined; /** Indicates if items in a table or grid are sorted in ascending or descending order. */ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined; /** Defines the maximum allowed value for a range widget. */ "aria-valuemax"?: number | string | undefined; /** Defines the minimum allowed value for a range widget. */ "aria-valuemin"?: number | string | undefined; /** * Defines the current value for a range widget. * * @see aria-valuetext. */ "aria-valuenow"?: number | string | undefined; /** Defines the human readable text alternative of aria-valuenow for a range widget. */ "aria-valuetext"?: string | undefined; role?: | "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "meter" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined; } // TODO: Should we allow this? // type ClassKeys = `class:${string}`; // type CSSKeys = Exclude; // type CSSAttributes = { // [key in CSSKeys as `style:${key}`]: csstype.PropertiesHyphen[key]; // }; /** `HTMLElement` interface keys only. (ex not svg/math) */ interface HTMLAttributes extends DOMAttributes { innerText?: string | number; accesskey?: string | undefined; autocapitalize?: HTMLAutocapitalize | undefined; autocorrect?: "on" | "off" | undefined; contenteditable?: "true" | "false" | boolean | "plaintext-only" | "inherit" | undefined; dir?: HTMLDir | undefined; draggable?: boolean | "false" | "true" | undefined; enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined; exportparts?: string | undefined; hidden?: boolean | "hidden" | "until-found" | undefined; inert?: boolean | undefined; inputmode?: | "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url" | undefined; is?: string | undefined; lang?: string | undefined; part?: string | undefined; popover?: boolean | "manual" | "auto" | undefined; spellcheck?: "true" | "false" | boolean | undefined; title?: string | undefined; translate?: "yes" | "no" | undefined; accessKey?: string | undefined; autoCapitalize?: HTMLAutocapitalize | undefined; contentEditable?: boolean | "plaintext-only" | "inherit" | undefined; exportParts?: string | undefined; inputMode?: | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; // Microdata itemid?: string | undefined; itemprop?: string | undefined; itemref?: string | undefined; itemscope?: boolean | undefined; itemtype?: string | undefined; itemId?: string | undefined; itemProp?: string | undefined; itemRef?: string | undefined; itemScope?: boolean | undefined; itemType?: string | undefined; // RDFa Attributes about?: string | undefined; datatype?: string | undefined; inlist?: any | undefined; prefix?: string | undefined; property?: string | undefined; resource?: string | undefined; typeof?: string | undefined; vocab?: string | undefined; /** @deprecated */ contextmenu?: string | undefined; /** @deprecated */ contextMenu?: string | undefined; } // html elements interface AnchorHTMLAttributes extends HTMLAttributes { download?: string | undefined; href?: string | undefined; hreflang?: string | undefined; ping?: string | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; rel?: string | undefined; target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined; type?: string | undefined; /** @experimental */ attributionsrc?: string | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; /** @deprecated */ charset?: string | undefined; /** @deprecated */ coords?: string | undefined; /** @deprecated */ name?: string | undefined; /** @deprecated */ rev?: string | undefined; /** @deprecated */ shape?: "rect" | "circle" | "poly" | "default" | undefined; } interface AudioHTMLAttributes extends MediaHTMLAttributes {} interface AreaHTMLAttributes extends HTMLAttributes { alt?: string | undefined; coords?: string | undefined; download?: string | undefined; href?: string | undefined; ping?: string | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; rel?: string | undefined; shape?: "rect" | "circle" | "poly" | "default" | undefined; target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined; /** @experimental */ attributionsrc?: string | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; /** @deprecated */ nohref?: boolean | undefined; } interface BaseHTMLAttributes extends HTMLAttributes { href?: string | undefined; target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined; } interface BdoHTMLAttributes extends HTMLAttributes { dir?: "ltr" | "rtl" | undefined; } interface BlockquoteHTMLAttributes extends HTMLAttributes { cite?: string | undefined; } interface BodyHTMLAttributes extends HTMLAttributes, WindowEventMap {} interface ButtonHTMLAttributes extends HTMLAttributes { disabled?: boolean | undefined; form?: string | undefined; formaction?: string | SerializableAttributeValue | undefined; formenctype?: HTMLFormEncType | undefined; formmethod?: HTMLFormMethod | undefined; formnovalidate?: boolean | undefined; formtarget?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined; name?: string | undefined; popovertarget?: string | undefined; popovertargetaction?: "hide" | "show" | "toggle" | undefined; type?: "submit" | "reset" | "button" | "menu" | undefined; value?: string | undefined; /** @experimental */ command?: | "show-modal" | "close" | "show-popover" | "hide-popover" | "toggle-popover" | (string & {}) | undefined; /** @experimental */ commandfor?: string | undefined; formAction?: string | SerializableAttributeValue | undefined; formEnctype?: HTMLFormEncType | undefined; formMethod?: HTMLFormMethod | undefined; formNoValidate?: boolean | undefined; formTarget?: string | undefined; popoverTarget?: string | undefined; popoverTargetAction?: "hide" | "show" | "toggle" | undefined; } interface CanvasHTMLAttributes extends HTMLAttributes { height?: number | string | undefined; width?: number | string | undefined; /** * @deprecated * @non-standard */ "moz-opaque"?: boolean | undefined; } interface CaptionHTMLAttributes extends HTMLAttributes { /** @deprecated */ align?: "left" | "center" | "right" | undefined; } interface ColHTMLAttributes extends HTMLAttributes { span?: number | string | undefined; /** @deprecated */ align?: "left" | "center" | "right" | "justify" | "char" | undefined; /** @deprecated */ bgcolor?: string | undefined; /** @deprecated */ char?: string | undefined; /** @deprecated */ charoff?: string | undefined; /** @deprecated */ valign?: "baseline" | "bottom" | "middle" | "top" | undefined; /** @deprecated */ width?: number | string | undefined; } interface ColgroupHTMLAttributes extends HTMLAttributes { span?: number | string | undefined; /** @deprecated */ align?: "left" | "center" | "right" | "justify" | "char" | undefined; /** @deprecated */ bgcolor?: string | undefined; /** @deprecated */ char?: string | undefined; /** @deprecated */ charoff?: string | undefined; /** @deprecated */ valign?: "baseline" | "bottom" | "middle" | "top" | undefined; /** @deprecated */ width?: number | string | undefined; } interface DataHTMLAttributes extends HTMLAttributes { value?: string | string[] | number | undefined; } interface DetailsHtmlAttributes extends HTMLAttributes { name?: string | undefined; open?: boolean | undefined; } interface DialogHtmlAttributes extends HTMLAttributes { open?: boolean | undefined; /** * Do not add the tabindex property to the element as it is not interactive and does * not receive focus. The dialog's contents, including the close button contained in the dialog, * can receive focus and be interactive. * * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes */ tabindex?: never; /** @experimental */ closedby?: "any" | "closerequest" | "none" | undefined; } interface EmbedHTMLAttributes extends HTMLAttributes { height?: number | string | undefined; src?: string | undefined; type?: string | undefined; width?: number | string | undefined; /** @deprecated */ align?: "left" | "right" | "justify" | "center" | undefined; /** @deprecated */ name?: string | undefined; } interface FieldsetHTMLAttributes extends HTMLAttributes { disabled?: boolean | undefined; form?: string | undefined; name?: string | undefined; } interface FormHTMLAttributes extends HTMLAttributes { "accept-charset"?: string | undefined; action?: string | SerializableAttributeValue | undefined; autocomplete?: "on" | "off" | undefined; encoding?: HTMLFormEncType | undefined; enctype?: HTMLFormEncType | undefined; method?: HTMLFormMethod | undefined; name?: string | undefined; novalidate?: boolean | undefined; rel?: string | undefined; target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined; noValidate?: boolean | undefined; /** @deprecated */ accept?: string | undefined; } interface IframeHTMLAttributes extends HTMLAttributes { allow?: string | undefined; allowfullscreen?: boolean | undefined; height?: number | string | undefined; loading?: "eager" | "lazy" | undefined; name?: string | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; sandbox?: HTMLIframeSandbox | string | undefined; src?: string | undefined; srcdoc?: string | undefined; width?: number | string | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; /** @experimental */ adauctionheaders?: boolean | undefined; /** * @non-standard * @experimental */ browsingtopics?: boolean | undefined; /** @experimental */ credentialless?: boolean | undefined; /** @experimental */ csp?: string | undefined; /** @experimental */ privatetoken?: string | undefined; /** @experimental */ sharedstoragewritable?: boolean | undefined; /** @deprecated */ align?: string | undefined; /** * @deprecated * @non-standard */ allowpaymentrequest?: boolean | undefined; /** @deprecated */ allowtransparency?: boolean | undefined; /** @deprecated */ frameborder?: number | string | undefined; /** @deprecated */ longdesc?: string | undefined; /** @deprecated */ marginheight?: number | string | undefined; /** @deprecated */ marginwidth?: number | string | undefined; /** @deprecated */ scrolling?: "yes" | "no" | "auto" | undefined; /** @deprecated */ seamless?: boolean | undefined; } interface ImgHTMLAttributes extends HTMLAttributes { alt?: string | undefined; crossorigin?: HTMLCrossorigin | undefined; decoding?: "sync" | "async" | "auto" | undefined; fetchpriority?: "high" | "low" | "auto" | undefined; height?: number | string | undefined; ismap?: boolean | undefined; loading?: "eager" | "lazy" | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; sizes?: string | undefined; src?: string | undefined; srcset?: string | undefined; usemap?: string | undefined; width?: number | string | undefined; /** @experimental */ attributionsrc?: string | undefined; /** @experimental */ sharedstoragewritable?: boolean | undefined; crossOrigin?: HTMLCrossorigin | undefined; isMap?: boolean | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; srcSet?: string | undefined; useMap?: string | undefined; /** @deprecated */ align?: "top" | "middle" | "bottom" | "left" | "right" | undefined; /** @deprecated */ border?: string | undefined; /** @deprecated */ hspace?: number | string | undefined; /** @deprecated */ intrinsicsize?: string | undefined; /** @deprecated */ longdesc?: string | undefined; /** @deprecated */ lowsrc?: string | undefined; /** @deprecated */ name?: string | undefined; /** @deprecated */ vspace?: number | string | undefined; } interface InputHTMLAttributes extends HTMLAttributes { accept?: string | undefined; alpha?: boolean | undefined; alt?: string | undefined; autocomplete?: HTMLAutocomplete | undefined; capture?: "user" | "environment" | undefined; checked?: boolean | undefined; colorspace?: string | undefined; dirname?: string | undefined; disabled?: boolean | undefined; form?: string | undefined; formaction?: string | SerializableAttributeValue | undefined; formenctype?: HTMLFormEncType | undefined; formmethod?: HTMLFormMethod | undefined; formnovalidate?: boolean | undefined; formtarget?: string | undefined; height?: number | string | undefined; list?: string | undefined; max?: number | string | undefined; maxlength?: number | string | undefined; min?: number | string | undefined; minlength?: number | string | undefined; multiple?: boolean | undefined; name?: string | undefined; pattern?: string | undefined; placeholder?: string | undefined; popovertarget?: string | undefined; popovertargetaction?: "hide" | "show" | "toggle" | undefined; readonly?: boolean | undefined; required?: boolean | undefined; // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#results results?: number | undefined; size?: number | string | undefined; src?: string | undefined; step?: number | string | undefined; type?: | "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | (string & {}) | undefined; value?: string | string[] | number | undefined; width?: number | string | undefined; /** @non-standard */ incremental?: boolean | undefined; formAction?: string | SerializableAttributeValue | undefined; formEnctype?: HTMLFormEncType | undefined; formMethod?: HTMLFormMethod | undefined; formNoValidate?: boolean | undefined; formTarget?: string | undefined; maxLength?: number | string | undefined; minLength?: number | string | undefined; readOnly?: boolean | undefined; /** @deprecated */ align?: string | undefined; /** @deprecated */ usemap?: string | undefined; } interface ModHTMLAttributes extends HTMLAttributes { cite?: string | undefined; datetime?: string | undefined; dateTime?: string | undefined; } interface KeygenHTMLAttributes extends HTMLAttributes { /** @deprecated */ challenge?: string | undefined; /** @deprecated */ disabled?: boolean | undefined; /** @deprecated */ form?: string | undefined; /** @deprecated */ keyparams?: string | undefined; /** @deprecated */ keytype?: string | undefined; /** @deprecated */ name?: string | undefined; } interface LabelHTMLAttributes extends HTMLAttributes { for?: string | undefined; } interface LiHTMLAttributes extends HTMLAttributes { value?: number | string | undefined; /** @deprecated */ type?: "1" | "a" | "A" | "i" | "I" | undefined; } interface LinkHTMLAttributes extends HTMLAttributes { as?: HTMLLinkAs | undefined; blocking?: "render" | undefined; color?: string | undefined; crossorigin?: HTMLCrossorigin | undefined; disabled?: boolean | undefined; fetchpriority?: "high" | "low" | "auto" | undefined; href?: string | undefined; hreflang?: string | undefined; imagesizes?: string | undefined; imagesrcset?: string | undefined; integrity?: string | undefined; media?: string | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; rel?: string | undefined; sizes?: string | undefined; type?: string | undefined; crossOrigin?: HTMLCrossorigin | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; /** @deprecated */ charset?: string | undefined; /** @deprecated */ rev?: string | undefined; /** @deprecated */ target?: string | undefined; } interface MapHTMLAttributes extends HTMLAttributes { name?: string | undefined; } interface MediaHTMLAttributes extends HTMLAttributes { autoplay?: boolean | undefined; controls?: boolean | undefined; controlslist?: | "nodownload" | "nofullscreen" | "noplaybackrate" | "noremoteplayback" | (string & {}) | undefined; crossorigin?: HTMLCrossorigin | undefined; disableremoteplayback?: boolean | undefined; loop?: boolean | undefined; muted?: boolean | undefined; preload?: "none" | "metadata" | "auto" | "" | undefined; src?: string | undefined; onEncrypted?: EventHandlerUnion | undefined; "on:encrypted"?: EventHandlerWithOptionsUnion | undefined; onencrypted?: EventHandlerUnion | undefined; onWaitingForKey?: EventHandlerUnion | undefined; "on:waitingforkey"?: EventHandlerWithOptionsUnion | undefined; onwaitingforkey?: EventHandlerUnion | undefined; crossOrigin?: HTMLCrossorigin | undefined; mediaGroup?: string | undefined; /** @deprecated */ mediagroup?: string | undefined; } interface MenuHTMLAttributes extends HTMLAttributes { /** @deprecated */ compact?: boolean | undefined; /** @deprecated */ label?: string | undefined; /** @deprecated */ type?: "context" | "toolbar" | undefined; } interface MetaHTMLAttributes extends HTMLAttributes { "http-equiv"?: | "content-security-policy" | "content-type" | "default-style" | "x-ua-compatible" | "refresh" | undefined; charset?: string | undefined; content?: string | undefined; media?: string | undefined; name?: string | undefined; /** @deprecated */ scheme?: string | undefined; } interface MeterHTMLAttributes extends HTMLAttributes { form?: string | undefined; high?: number | string | undefined; low?: number | string | undefined; max?: number | string | undefined; min?: number | string | undefined; optimum?: number | string | undefined; value?: string | string[] | number | undefined; } interface QuoteHTMLAttributes extends HTMLAttributes { cite?: string | undefined; } interface ObjectHTMLAttributes extends HTMLAttributes { data?: string | undefined; form?: string | undefined; height?: number | string | undefined; name?: string | undefined; type?: string | undefined; width?: number | string | undefined; useMap?: string | undefined; /** @deprecated */ align?: string | undefined; /** @deprecated */ archive?: string | undefined; /** @deprecated */ border?: string | undefined; /** @deprecated */ classid?: string | undefined; /** @deprecated */ code?: string | undefined; /** @deprecated */ codebase?: string | undefined; /** @deprecated */ codetype?: string | undefined; /** @deprecated */ declare?: boolean | undefined; /** @deprecated */ hspace?: number | string | undefined; /** @deprecated */ standby?: string | undefined; /** @deprecated */ usemap?: string | undefined; /** @deprecated */ vspace?: number | string | undefined; /** @deprecated */ typemustmatch?: boolean | undefined; } interface OlHTMLAttributes extends HTMLAttributes { reversed?: boolean | undefined; start?: number | string | undefined; type?: "1" | "a" | "A" | "i" | "I" | undefined; /** * @deprecated * @non-standard */ compact?: boolean | undefined; } interface OptgroupHTMLAttributes extends HTMLAttributes { disabled?: boolean | undefined; label?: string | undefined; } interface OptionHTMLAttributes extends HTMLAttributes { disabled?: boolean | undefined; label?: string | undefined; selected?: boolean | undefined; value?: string | string[] | number | undefined; } interface OutputHTMLAttributes extends HTMLAttributes { for?: string | undefined; form?: string | undefined; name?: string | undefined; } interface ParamHTMLAttributes extends HTMLAttributes { /** @deprecated */ name?: string | undefined; /** @deprecated */ type?: string | undefined; /** @deprecated */ value?: string | number | undefined; /** @deprecated */ valuetype?: "data" | "ref" | "object" | undefined; } interface ProgressHTMLAttributes extends HTMLAttributes { max?: number | string | undefined; value?: string | string[] | number | undefined; } interface ScriptHTMLAttributes extends HTMLAttributes { async?: boolean | undefined; blocking?: "render" | undefined; crossorigin?: HTMLCrossorigin | undefined; defer?: boolean | undefined; fetchpriority?: "high" | "low" | "auto" | undefined; integrity?: string | undefined; nomodule?: boolean | undefined; referrerpolicy?: HTMLReferrerPolicy | undefined; src?: string | undefined; type?: "importmap" | "module" | "speculationrules" | (string & {}) | undefined; /** @experimental */ attributionsrc?: string | undefined; crossOrigin?: HTMLCrossorigin | undefined; noModule?: boolean | undefined; referrerPolicy?: HTMLReferrerPolicy | undefined; /** @deprecated */ charset?: string | undefined; /** @deprecated */ event?: string | undefined; /** @deprecated */ language?: string | undefined; } interface SelectHTMLAttributes extends HTMLAttributes { autocomplete?: HTMLAutocomplete | undefined; disabled?: boolean | undefined; form?: string | undefined; multiple?: boolean | undefined; name?: string | undefined; required?: boolean | undefined; size?: number | string | undefined; value?: string | string[] | number | undefined; } interface HTMLSlotElementAttributes extends HTMLAttributes { name?: string | undefined; } interface SourceHTMLAttributes extends HTMLAttributes { height?: number | string | undefined; media?: string | undefined; sizes?: string | undefined; src?: string | undefined; srcset?: string | undefined; type?: string | undefined; width?: number | string | undefined; } interface StyleHTMLAttributes extends HTMLAttributes { blocking?: "render" | undefined; media?: string | undefined; /** @deprecated */ scoped?: boolean | undefined; /** @deprecated */ type?: string | undefined; } interface TdHTMLAttributes extends HTMLAttributes { colspan?: number | string | undefined; headers?: string | undefined; rowspan?: number | string | undefined; colSpan?: number | string | undefined; rowSpan?: number | string | undefined; /** @deprecated */ abbr?: string | undefined; /** @deprecated */ align?: "left" | "center" | "right" | "justify" | "char" | undefined; /** @deprecated */ axis?: string | undefined; /** @deprecated */ bgcolor?: string | undefined; /** @deprecated */ char?: string | undefined; /** @deprecated */ charoff?: string | undefined; /** @deprecated */ height?: number | string | undefined; /** @deprecated */ nowrap?: boolean | undefined; /** @deprecated */ scope?: "col" | "row" | "rowgroup" | "colgroup" | undefined; /** @deprecated */ valign?: "baseline" | "bottom" | "middle" | "top" | undefined; /** @deprecated */ width?: number | string | undefined; } interface TemplateHTMLAttributes extends HTMLAttributes { shadowrootclonable?: boolean | undefined; shadowrootcustomelementregistry?: boolean | undefined; shadowrootdelegatesfocus?: boolean | undefined; shadowrootmode?: "open" | "closed" | undefined; /** @experimental */ shadowrootserializable?: boolean | undefined; } interface TextareaHTMLAttributes extends HTMLAttributes { autocomplete?: HTMLAutocomplete | undefined; cols?: number | string | undefined; dirname?: string | undefined; disabled?: boolean | undefined; form?: string | undefined; maxlength?: number | string | undefined; minlength?: number | string | undefined; name?: string | undefined; placeholder?: string | undefined; readonly?: boolean | undefined; required?: boolean | undefined; rows?: number | string | undefined; value?: string | string[] | number | undefined; wrap?: "hard" | "soft" | "off" | undefined; maxLength?: number | string | undefined; minLength?: number | string | undefined; readOnly?: boolean | undefined; } interface ThHTMLAttributes extends HTMLAttributes { abbr?: string | undefined; colspan?: number | string | undefined; headers?: string | undefined; rowspan?: number | string | undefined; scope?: "col" | "row" | "rowgroup" | "colgroup" | undefined; colSpan?: number | string | undefined; rowSpan?: number | string | undefined; /** @deprecated */ align?: "left" | "center" | "right" | "justify" | "char" | undefined; /** @deprecated */ axis?: string | undefined; /** @deprecated */ bgcolor?: string | undefined; /** @deprecated */ char?: string | undefined; /** @deprecated */ charoff?: string | undefined; /** @deprecated */ height?: string | undefined; /** @deprecated */ nowrap?: boolean | undefined; /** @deprecated */ valign?: "baseline" | "bottom" | "middle" | "top" | undefined; /** @deprecated */ width?: number | string | undefined; } interface TimeHTMLAttributes extends HTMLAttributes { datetime?: string | undefined; dateTime?: string | undefined; } interface TrackHTMLAttributes extends HTMLAttributes { default?: boolean | undefined; kind?: | "alternative" | "descriptions" | "main" | "main-desc" | "translation" | "commentary" | "subtitles" | "captions" | "chapters" | "metadata" | undefined; label?: string | undefined; src?: string | undefined; srclang?: string | undefined; mediaGroup?: string | undefined; /** @deprecated */ mediagroup?: string | undefined; } interface VideoHTMLAttributes extends MediaHTMLAttributes { disablepictureinpicture?: boolean | undefined; height?: number | string | undefined; playsinline?: boolean | undefined; poster?: string | undefined; width?: number | string | undefined; onEnterPictureInPicture?: EventHandlerUnion | undefined; "on:enterpictureinpicture"?: EventHandlerWithOptionsUnion | undefined; onenterpictureinpicture?: EventHandlerUnion | undefined; onLeavePictureInPicture?: EventHandlerUnion | undefined; "on:leavepictureinpicture"?: EventHandlerWithOptionsUnion | undefined; onleavepictureinpicture?: EventHandlerUnion | undefined; } interface WebViewHTMLAttributes extends HTMLAttributes { allowpopups?: boolean | undefined; disableblinkfeatures?: string | undefined; disablewebsecurity?: boolean | undefined; enableblinkfeatures?: string | undefined; httpreferrer?: string | undefined; nodeintegration?: boolean | undefined; nodeintegrationinsubframes?: boolean | undefined; partition?: string | undefined; plugins?: boolean | undefined; preload?: string | undefined; src?: string | undefined; useragent?: string | undefined; webpreferences?: string | undefined; // does this exists? allowfullscreen?: boolean | undefined; autosize?: boolean | undefined; /** @deprecated */ blinkfeatures?: string | undefined; /** @deprecated */ disableguestresize?: boolean | undefined; /** @deprecated */ guestinstance?: string | undefined; } // svg elements type SVGPreserveAspectRatio = | "none" | "xMinYMin" | "xMidYMin" | "xMaxYMin" | "xMinYMid" | "xMidYMid" | "xMaxYMid" | "xMinYMax" | "xMidYMax" | "xMaxYMax" | "xMinYMin meet" | "xMidYMin meet" | "xMaxYMin meet" | "xMinYMid meet" | "xMidYMid meet" | "xMaxYMid meet" | "xMinYMax meet" | "xMidYMax meet" | "xMaxYMax meet" | "xMinYMin slice" | "xMidYMin slice" | "xMaxYMin slice" | "xMinYMid slice" | "xMidYMid slice" | "xMaxYMid slice" | "xMinYMax slice" | "xMidYMax slice" | "xMaxYMax slice"; type ImagePreserveAspectRatio = | SVGPreserveAspectRatio | "defer none" | "defer xMinYMin" | "defer xMidYMin" | "defer xMaxYMin" | "defer xMinYMid" | "defer xMidYMid" | "defer xMaxYMid" | "defer xMinYMax" | "defer xMidYMax" | "defer xMaxYMax" | "defer xMinYMin meet" | "defer xMidYMin meet" | "defer xMaxYMin meet" | "defer xMinYMid meet" | "defer xMidYMid meet" | "defer xMaxYMid meet" | "defer xMinYMax meet" | "defer xMidYMax meet" | "defer xMaxYMax meet" | "defer xMinYMin slice" | "defer xMidYMin slice" | "defer xMaxYMin slice" | "defer xMinYMid slice" | "defer xMidYMid slice" | "defer xMaxYMid slice" | "defer xMinYMax slice" | "defer xMidYMax slice" | "defer xMaxYMax slice"; type SVGUnits = "userSpaceOnUse" | "objectBoundingBox"; /** Global `SVGElement` interface keys only. (ex not html/math) */ interface CoreSVGAttributes extends DOMAttributes { lang?: string | undefined; tabindex?: number | string | undefined; xmlns?: string | undefined; tabIndex?: number | string | undefined; } interface StylableSVGAttributes { class?: string | undefined; style?: CSSProperties | string | undefined; } interface TransformableSVGAttributes { transform?: string | undefined; } interface ConditionalProcessingSVGAttributes { requiredExtensions?: string | undefined; requiredFeatures?: string | undefined; systemLanguage?: string | undefined; } interface ExternalResourceSVGAttributes { externalResourcesRequired?: "true" | "false" | undefined; } interface AnimationTimingSVGAttributes { begin?: string | undefined; dur?: string | undefined; end?: string | undefined; fill?: "freeze" | "remove" | undefined; max?: string | undefined; min?: string | undefined; repeatCount?: number | "indefinite" | undefined; repeatDur?: string | undefined; restart?: "always" | "whenNotActive" | "never" | undefined; } interface AnimationValueSVGAttributes { by?: number | string | undefined; calcMode?: "discrete" | "linear" | "paced" | "spline" | undefined; from?: number | string | undefined; keySplines?: string | undefined; keyTimes?: string | undefined; to?: number | string | undefined; values?: string | undefined; } interface AnimationAdditionSVGAttributes { accumulate?: "none" | "sum" | undefined; additive?: "replace" | "sum" | undefined; attributeName?: string | undefined; } interface AnimationAttributeTargetSVGAttributes { attributeName?: string | undefined; attributeType?: "CSS" | "XML" | "auto" | undefined; } interface PresentationSVGAttributes { "alignment-baseline"?: | "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit" | undefined; "baseline-shift"?: number | string | undefined; "clip-path"?: string | undefined; "clip-rule"?: "nonzero" | "evenodd" | "inherit" | undefined; "color-interpolation"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined; "color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined; "color-profile"?: string | undefined; "color-rendering"?: "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | undefined; "dominant-baseline"?: | "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging" | "text-top" | "inherit" | undefined; "enable-background"?: string | undefined; "fill-opacity"?: number | string | "inherit" | undefined; "fill-rule"?: "nonzero" | "evenodd" | "inherit" | undefined; "flood-color"?: string | undefined; "flood-opacity"?: number | string | "inherit" | undefined; "font-family"?: string | undefined; "font-size"?: string | undefined; "font-size-adjust"?: number | string | undefined; "font-stretch"?: string | undefined; "font-style"?: "normal" | "italic" | "oblique" | "inherit" | undefined; "font-variant"?: string | undefined; "font-weight"?: number | string | undefined; "glyph-orientation-horizontal"?: string | undefined; "glyph-orientation-vertical"?: string | undefined; "image-rendering"?: "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | undefined; "letter-spacing"?: number | string | undefined; "lighting-color"?: string | undefined; "marker-end"?: string | undefined; "marker-mid"?: string | undefined; "marker-start"?: string | undefined; "pointer-events"?: | "bounding-box" | "visiblePainted" | "visibleFill" | "visibleStroke" | "visible" | "painted" | "color" | "fill" | "stroke" | "all" | "none" | "inherit" | undefined; "shape-rendering"?: | "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" | undefined; "stop-color"?: string | undefined; "stop-opacity"?: number | string | "inherit" | undefined; "stroke-dasharray"?: string | undefined; "stroke-dashoffset"?: number | string | undefined; "stroke-linecap"?: "butt" | "round" | "square" | "inherit" | undefined; "stroke-linejoin"?: "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit" | undefined; "stroke-miterlimit"?: number | string | "inherit" | undefined; "stroke-opacity"?: number | string | "inherit" | undefined; "stroke-width"?: number | string | undefined; "text-anchor"?: "start" | "middle" | "end" | "inherit" | undefined; "text-decoration"?: | "none" | "underline" | "overline" | "line-through" | "blink" | "inherit" | undefined; "text-rendering"?: | "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision" | "inherit" | undefined; "unicode-bidi"?: string | undefined; "word-spacing"?: number | string | undefined; "writing-mode"?: "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | undefined; clip?: string | undefined; color?: string | undefined; cursor?: string | undefined; direction?: "ltr" | "rtl" | "inherit" | undefined; display?: string | undefined; fill?: string | undefined; filter?: string | undefined; kerning?: string | undefined; mask?: string | undefined; opacity?: number | string | "inherit" | undefined; overflow?: "visible" | "hidden" | "scroll" | "auto" | "inherit" | undefined; pathLength?: string | number | undefined; stroke?: string | undefined; visibility?: "visible" | "hidden" | "collapse" | "inherit" | undefined; } interface AnimationElementSVGAttributes extends CoreSVGAttributes, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes { // TODO TimeEvent is currently undefined on TS onBegin?: EventHandlerUnion | undefined; onbegin?: EventHandlerUnion | undefined; "on:begin"?: EventHandlerWithOptionsUnion | undefined; // TODO TimeEvent is currently undefined on TS onEnd?: EventHandlerUnion | undefined; onend?: EventHandlerUnion | undefined; "on:end"?: EventHandlerWithOptionsUnion | undefined; // TODO TimeEvent is currently undefined on TS onRepeat?: EventHandlerUnion | undefined; onrepeat?: EventHandlerUnion | undefined; "on:repeat"?: EventHandlerWithOptionsUnion | undefined; } interface ContainerElementSVGAttributes extends CoreSVGAttributes, ShapeElementSVGAttributes, Pick< PresentationSVGAttributes, | "clip-path" | "mask" | "cursor" | "opacity" | "filter" | "enable-background" | "color-interpolation" | "color-rendering" > {} interface FilterPrimitiveElementSVGAttributes extends CoreSVGAttributes, Pick { height?: number | string | undefined; result?: string | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface SingleInputFilterSVGAttributes { in?: string | undefined; } interface DoubleInputFilterSVGAttributes { in?: string | undefined; in2?: string | undefined; } interface FitToViewBoxSVGAttributes { preserveAspectRatio?: SVGPreserveAspectRatio | undefined; viewBox?: string | undefined; } interface GradientElementSVGAttributes extends CoreSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes { gradientTransform?: string | undefined; gradientUnits?: SVGUnits | undefined; href?: string | undefined; spreadMethod?: "pad" | "reflect" | "repeat" | undefined; } interface GraphicsElementSVGAttributes extends CoreSVGAttributes, Pick< PresentationSVGAttributes, | "clip-rule" | "mask" | "pointer-events" | "cursor" | "opacity" | "filter" | "display" | "visibility" | "color-interpolation" | "color-rendering" > {} interface LightSourceElementSVGAttributes extends CoreSVGAttributes {} interface NewViewportSVGAttributes extends CoreSVGAttributes, Pick { viewBox?: string | undefined; } interface ShapeElementSVGAttributes extends CoreSVGAttributes, Pick< PresentationSVGAttributes, | "color" | "fill" | "fill-rule" | "fill-opacity" | "stroke" | "stroke-width" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-opacity" | "shape-rendering" | "pathLength" > {} interface TextContentElementSVGAttributes extends CoreSVGAttributes, Pick< PresentationSVGAttributes, | "font-family" | "font-style" | "font-variant" | "font-weight" | "font-stretch" | "font-size" | "font-size-adjust" | "kerning" | "letter-spacing" | "word-spacing" | "text-decoration" | "glyph-orientation-horizontal" | "glyph-orientation-vertical" | "direction" | "unicode-bidi" | "text-anchor" | "dominant-baseline" | "color" | "fill" | "fill-rule" | "fill-opacity" | "stroke" | "stroke-width" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-opacity" > {} interface ZoomAndPanSVGAttributes { /** * @deprecated * @non-standard */ zoomAndPan?: "disable" | "magnify" | undefined; } interface AnimateSVGAttributes extends AnimationElementSVGAttributes, AnimationAttributeTargetSVGAttributes, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes, Pick {} interface AnimateMotionSVGAttributes extends AnimationElementSVGAttributes, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes { keyPoints?: string | undefined; origin?: "default" | undefined; path?: string | undefined; rotate?: number | string | "auto" | "auto-reverse" | undefined; } interface AnimateTransformSVGAttributes extends AnimationElementSVGAttributes, AnimationAttributeTargetSVGAttributes, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes { type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | undefined; } interface CircleSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { cx?: number | string | undefined; cy?: number | string | undefined; r?: number | string | undefined; } interface ClipPathSVGAttributes extends CoreSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { clipPathUnits?: SVGUnits | undefined; } interface DefsSVGAttributes extends ContainerElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes {} interface DescSVGAttributes extends CoreSVGAttributes, StylableSVGAttributes {} interface EllipseSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { cx?: number | string | undefined; cy?: number | string | undefined; rx?: number | string | undefined; ry?: number | string | undefined; } interface FeBlendSVGAttributes extends FilterPrimitiveElementSVGAttributes, DoubleInputFilterSVGAttributes, StylableSVGAttributes { mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | undefined; } interface FeColorMatrixSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes { type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | undefined; values?: string | undefined; } interface FeComponentTransferSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes {} interface FeCompositeSVGAttributes extends FilterPrimitiveElementSVGAttributes, DoubleInputFilterSVGAttributes, StylableSVGAttributes { k1?: number | string | undefined; k2?: number | string | undefined; k3?: number | string | undefined; k4?: number | string | undefined; operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | undefined; } interface FeConvolveMatrixSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes { bias?: number | string | undefined; divisor?: number | string | undefined; edgeMode?: "duplicate" | "wrap" | "none" | undefined; kernelMatrix?: string | undefined; kernelUnitLength?: number | string | undefined; order?: number | string | undefined; preserveAlpha?: "true" | "false" | undefined; targetX?: number | string | undefined; targetY?: number | string | undefined; } interface FeDiffuseLightingSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes, Pick { diffuseConstant?: number | string | undefined; kernelUnitLength?: number | string | undefined; surfaceScale?: number | string | undefined; } interface FeDisplacementMapSVGAttributes extends FilterPrimitiveElementSVGAttributes, DoubleInputFilterSVGAttributes, StylableSVGAttributes { scale?: number | string | undefined; xChannelSelector?: "R" | "G" | "B" | "A" | undefined; yChannelSelector?: "R" | "G" | "B" | "A" | undefined; } interface FeDistantLightSVGAttributes extends LightSourceElementSVGAttributes { azimuth?: number | string | undefined; elevation?: number | string | undefined; } interface FeDropShadowSVGAttributes extends CoreSVGAttributes, FilterPrimitiveElementSVGAttributes, StylableSVGAttributes, Pick { dx?: number | string | undefined; dy?: number | string | undefined; stdDeviation?: number | string | undefined; } interface FeFloodSVGAttributes extends FilterPrimitiveElementSVGAttributes, StylableSVGAttributes, Pick {} interface FeFuncSVGAttributes extends CoreSVGAttributes { amplitude?: number | string | undefined; exponent?: number | string | undefined; intercept?: number | string | undefined; offset?: number | string | undefined; slope?: number | string | undefined; tableValues?: string | undefined; type?: "identity" | "table" | "discrete" | "linear" | "gamma" | undefined; } interface FeGaussianBlurSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes { stdDeviation?: number | string | undefined; } interface FeImageSVGAttributes extends FilterPrimitiveElementSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes { href?: string | undefined; preserveAspectRatio?: SVGPreserveAspectRatio | undefined; } interface FeMergeSVGAttributes extends FilterPrimitiveElementSVGAttributes, StylableSVGAttributes {} interface FeMergeNodeSVGAttributes extends CoreSVGAttributes, SingleInputFilterSVGAttributes {} interface FeMorphologySVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes { operator?: "erode" | "dilate" | undefined; radius?: number | string | undefined; } interface FeOffsetSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes { dx?: number | string | undefined; dy?: number | string | undefined; } interface FePointLightSVGAttributes extends LightSourceElementSVGAttributes { x?: number | string | undefined; y?: number | string | undefined; z?: number | string | undefined; } interface FeSpecularLightingSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes, Pick { kernelUnitLength?: number | string | undefined; specularConstant?: string | undefined; specularExponent?: string | undefined; surfaceScale?: string | undefined; } interface FeSpotLightSVGAttributes extends LightSourceElementSVGAttributes { limitingConeAngle?: number | string | undefined; pointsAtX?: number | string | undefined; pointsAtY?: number | string | undefined; pointsAtZ?: number | string | undefined; specularExponent?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; z?: number | string | undefined; } interface FeTileSVGAttributes extends FilterPrimitiveElementSVGAttributes, SingleInputFilterSVGAttributes, StylableSVGAttributes {} interface FeTurbulanceSVGAttributes extends FilterPrimitiveElementSVGAttributes, StylableSVGAttributes { baseFrequency?: number | string | undefined; numOctaves?: number | string | undefined; seed?: number | string | undefined; stitchTiles?: "stitch" | "noStitch" | undefined; type?: "fractalNoise" | "turbulence" | undefined; } interface FilterSVGAttributes extends CoreSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes { filterRes?: number | string | undefined; filterUnits?: SVGUnits | undefined; height?: number | string | undefined; primitiveUnits?: SVGUnits | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface ForeignObjectSVGAttributes extends NewViewportSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { height?: number | string | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface GSVGAttributes extends ContainerElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick {} interface ImageSVGAttributes extends NewViewportSVGAttributes, GraphicsElementSVGAttributes, ConditionalProcessingSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { height?: number | string | undefined; href?: string | undefined; preserveAspectRatio?: ImagePreserveAspectRatio | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface LineSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { x1?: number | string | undefined; x2?: number | string | undefined; y1?: number | string | undefined; y2?: number | string | undefined; } interface LinearGradientSVGAttributes extends GradientElementSVGAttributes { x1?: number | string | undefined; x2?: number | string | undefined; y1?: number | string | undefined; y2?: number | string | undefined; } interface MarkerSVGAttributes extends ContainerElementSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick { markerHeight?: number | string | undefined; markerUnits?: "strokeWidth" | "userSpaceOnUse" | undefined; markerWidth?: number | string | undefined; orient?: string | undefined; refX?: number | string | undefined; refY?: number | string | undefined; } interface MaskSVGAttributes extends Omit, "opacity" | "filter">, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick { height?: number | string | undefined; maskContentUnits?: SVGUnits | undefined; maskUnits?: SVGUnits | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface MetadataSVGAttributes extends CoreSVGAttributes {} interface MPathSVGAttributes extends CoreSVGAttributes {} interface PathSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { d?: string | undefined; pathLength?: number | string | undefined; } interface PatternSVGAttributes extends ContainerElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick { height?: number | string | undefined; href?: string | undefined; patternContentUnits?: SVGUnits | undefined; patternTransform?: string | undefined; patternUnits?: SVGUnits | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface PolygonSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { points?: string | undefined; } interface PolylineSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { points?: string | undefined; } interface RadialGradientSVGAttributes extends GradientElementSVGAttributes { cx?: number | string | undefined; cy?: number | string | undefined; fx?: number | string | undefined; fy?: number | string | undefined; r?: number | string | undefined; } interface RectSVGAttributes extends GraphicsElementSVGAttributes, ShapeElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { height?: number | string | undefined; rx?: number | string | undefined; ry?: number | string | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface SetSVGAttributes extends AnimationElementSVGAttributes, StylableSVGAttributes, AnimationTimingSVGAttributes {} interface StopSVGAttributes extends CoreSVGAttributes, StylableSVGAttributes, Pick { offset?: number | string | undefined; } interface SvgSVGAttributes extends ContainerElementSVGAttributes, NewViewportSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, ZoomAndPanSVGAttributes, PresentationSVGAttributes, WindowEventMap { "xmlns:xlink"?: string | undefined; contentScriptType?: string | undefined; contentStyleType?: string | undefined; height?: number | string | undefined; width?: number | string | undefined; x?: number | string | undefined; xmlns?: string | undefined; y?: number | string | undefined; /** @deprecated */ baseProfile?: string | undefined; /** @deprecated */ version?: string | undefined; } interface SwitchSVGAttributes extends ContainerElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick {} interface SymbolSVGAttributes extends ContainerElementSVGAttributes, NewViewportSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick { height?: number | string | undefined; preserveAspectRatio?: SVGPreserveAspectRatio | undefined; refX?: number | string | undefined; refY?: number | string | undefined; viewBox?: string | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface TextSVGAttributes extends TextContentElementSVGAttributes, GraphicsElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick { dx?: number | string | undefined; dy?: number | string | undefined; lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined; rotate?: number | string | undefined; textLength?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface TextPathSVGAttributes extends TextContentElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick< PresentationSVGAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility" > { href?: string | undefined; method?: "align" | "stretch" | undefined; spacing?: "auto" | "exact" | undefined; startOffset?: number | string | undefined; } interface TSpanSVGAttributes extends TextContentElementSVGAttributes, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick< PresentationSVGAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility" > { dx?: number | string | undefined; dy?: number | string | undefined; lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined; rotate?: number | string | undefined; textLength?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */ interface UseSVGAttributes extends CoreSVGAttributes, StylableSVGAttributes, ConditionalProcessingSVGAttributes, GraphicsElementSVGAttributes, PresentationSVGAttributes, ExternalResourceSVGAttributes, TransformableSVGAttributes { height?: number | string | undefined; href?: string | undefined; width?: number | string | undefined; x?: number | string | undefined; y?: number | string | undefined; } interface ViewSVGAttributes extends CoreSVGAttributes, ExternalResourceSVGAttributes, FitToViewBoxSVGAttributes, ZoomAndPanSVGAttributes { viewTarget?: string | undefined; } // math elements /** Global `MathMLElement` interface keys only. (ex not html/svg) */ interface MathMLAttributes extends DOMAttributes { dir?: HTMLDir | undefined; displaystyle?: boolean | undefined; scriptlevel?: string | undefined; xmlns?: string | undefined; /** @deprecated */ href?: string | undefined; /** @deprecated */ mathbackground?: string | undefined; /** @deprecated */ mathcolor?: string | undefined; /** @deprecated */ mathsize?: string | undefined; } interface MathMLAnnotationElementAttributes extends MathMLAttributes { encoding?: string | undefined; /** @deprecated */ src?: string | undefined; } interface MathMLAnnotationXmlElementAttributes extends MathMLAttributes { encoding?: string | undefined; /** @deprecated */ src?: string | undefined; } interface MathMLMactionElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ actiontype?: "statusline" | "toggle" | undefined; /** * @deprecated * @non-standard */ selection?: string | undefined; } interface MathMLMathElementAttributes extends MathMLAttributes { display?: "block" | "inline" | undefined; } interface MathMLMerrorElementAttributes extends MathMLAttributes {} interface MathMLMfracElementAttributes extends MathMLAttributes { linethickness?: string | undefined; /** * @deprecated * @non-standard */ denomalign?: "center" | "left" | "right" | undefined; /** * @deprecated * @non-standard */ numalign?: "center" | "left" | "right" | undefined; } interface MathMLMiElementAttributes extends MathMLAttributes { mathvariant?: "normal" | undefined; } interface MathMLMmultiscriptsElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ subscriptshift?: string | undefined; /** * @deprecated * @non-standard */ superscriptshift?: string | undefined; } interface MathMLMnElementAttributes extends MathMLAttributes {} interface MathMLMoElementAttributes extends MathMLAttributes { fence?: boolean | undefined; form?: "prefix" | "infix" | "postfix" | undefined; largeop?: boolean | undefined; lspace?: string | undefined; maxsize?: string | undefined; minsize?: string | undefined; movablelimits?: boolean | undefined; rspace?: string | undefined; separator?: boolean | undefined; stretchy?: boolean | undefined; symmetric?: boolean | undefined; /** @non-standard */ accent?: boolean | undefined; } interface MathMLMoverElementAttributes extends MathMLAttributes { accent?: boolean | undefined; } interface MathMLMpaddedElementAttributes extends MathMLAttributes { depth?: string | undefined; height?: string | undefined; lspace?: string | undefined; voffset?: string | undefined; width?: string | undefined; } interface MathMLMphantomElementAttributes extends MathMLAttributes {} interface MathMLMprescriptsElementAttributes extends MathMLAttributes {} interface MathMLMrootElementAttributes extends MathMLAttributes {} interface MathMLMrowElementAttributes extends MathMLAttributes {} interface MathMLMsElementAttributes extends MathMLAttributes { /** @deprecated */ lquote?: string | undefined; /** @deprecated */ rquote?: string | undefined; } interface MathMLMspaceElementAttributes extends MathMLAttributes { depth?: string | undefined; height?: string | undefined; width?: string | undefined; } interface MathMLMsqrtElementAttributes extends MathMLAttributes {} interface MathMLMstyleElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ background?: string | undefined; /** * @deprecated * @non-standard */ color?: string | undefined; /** * @deprecated * @non-standard */ fontsize?: string | undefined; /** * @deprecated * @non-standard */ fontstyle?: string | undefined; /** * @deprecated * @non-standard */ fontweight?: string | undefined; /** @deprecated */ scriptminsize?: string | undefined; /** @deprecated */ scriptsizemultiplier?: string | undefined; } interface MathMLMsubElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ subscriptshift?: string | undefined; } interface MathMLMsubsupElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ subscriptshift?: string | undefined; /** * @deprecated * @non-standard */ superscriptshift?: string | undefined; } interface MathMLMsupElementAttributes extends MathMLAttributes { /** * @deprecated * @non-standard */ superscriptshift?: string | undefined; } interface MathMLMtableElementAttributes extends MathMLAttributes { /** @non-standard */ align?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined; /** @non-standard */ columnalign?: "center" | "left" | "right" | undefined; /** @non-standard */ columnlines?: "dashed" | "none" | "solid" | undefined; /** @non-standard */ columnspacing?: string | undefined; /** @non-standard */ frame?: "dashed" | "none" | "solid" | undefined; /** @non-standard */ framespacing?: string | undefined; /** @non-standard */ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined; /** @non-standard */ rowlines?: "dashed" | "none" | "solid" | undefined; /** @non-standard */ rowspacing?: string | undefined; /** @non-standard */ width?: string | undefined; } interface MathMLMtdElementAttributes extends MathMLAttributes { columnspan?: number | string | undefined; rowspan?: number | string | undefined; /** @non-standard */ columnalign?: "center" | "left" | "right" | undefined; /** @non-standard */ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined; } interface MathMLMtextElementAttributes extends MathMLAttributes {} interface MathMLMtrElementAttributes extends MathMLAttributes { /** @non-standard */ columnalign?: "center" | "left" | "right" | undefined; /** @non-standard */ rowalign?: "axis" | "baseline" | "bottom" | "center" | "top" | undefined; } interface MathMLMunderElementAttributes extends MathMLAttributes { accentunder?: "" | boolean | undefined; } interface MathMLMunderoverElementAttributes extends MathMLAttributes { accent?: "" | boolean | undefined; accentunder?: "" | boolean | undefined; } interface MathMLSemanticsElementAttributes extends MathMLAttributes {} /* MathMLDeprecatedElements */ interface MathMLMencloseElementAttributes extends MathMLAttributes { /** @non-standard */ notation?: string | undefined; } interface MathMLMfencedElementAttributes extends MathMLAttributes { close?: string | undefined; open?: string | undefined; separators?: string | undefined; } /** @type {HTMLElementTagNameMap} */ interface HTMLElementTags { /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement */ a: AnchorHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ abbr: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ address: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement */ area: AreaHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ article: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ aside: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement */ audio: AudioHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ b: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement */ base: BaseHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ bdi: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ bdo: BdoHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement */ blockquote: BlockquoteHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement */ body: BodyHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement */ br: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement */ button: ButtonHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement */ canvas: CanvasHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement */ caption: CaptionHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ cite: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ code: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement */ col: ColHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement */ colgroup: ColgroupHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement */ data: DataHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement */ datalist: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dd: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement */ del: ModHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement */ details: DetailsHtmlAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dfn: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement */ dialog: DialogHtmlAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement */ div: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement */ dl: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dt: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ em: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement */ embed: EmbedHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement */ fieldset: FieldsetHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ figcaption: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ figure: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ footer: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement */ form: FormHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h1: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h2: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h3: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h4: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h5: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h6: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement */ head: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ header: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ hgroup: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement */ hr: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement */ html: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ i: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement */ iframe: IframeHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement */ img: ImgHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement */ input: InputHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement */ ins: ModHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ kbd: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement */ label: LabelHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement */ legend: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement */ li: LiHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement */ link: LinkHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ main: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement */ map: MapHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ mark: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement */ menu: MenuHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement */ meta: MetaHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement */ meter: MeterHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ nav: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ noscript: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement */ object: ObjectHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement */ ol: OlHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement */ optgroup: OptgroupHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement */ option: OptionHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement */ output: OutputHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement */ p: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement */ picture: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement */ pre: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement */ progress: ProgressHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement */ q: QuoteHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rp: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rt: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ ruby: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ s: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ samp: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement */ script: ScriptHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ search: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ section: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement */ select: SelectHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement */ slot: HTMLSlotElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ small: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement */ source: SourceHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement */ span: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ strong: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement */ style: StyleHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ sub: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ summary: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ sup: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement */ table: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ tbody: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement */ td: TdHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement */ template: TemplateHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement */ textarea: TextareaHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ tfoot: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement */ th: ThHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ thead: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement */ time: TimeHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement */ title: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement */ tr: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement */ track: TrackHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ u: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement */ ul: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ var: HTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement */ video: VideoHTMLAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ wbr: HTMLAttributes; /** @url https://www.electronjs.org/docs/latest/api/webview-tag */ webview: WebViewHTMLAttributes; } /** @type {HTMLElementDeprecatedTagNameMap} */ interface HTMLElementDeprecatedTags { /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ big: HTMLAttributes; /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ keygen: KeygenHTMLAttributes; /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ menuitem: HTMLAttributes; /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement */ param: ParamHTMLAttributes; } /** @type {SVGElementTagNameMap} */ interface SVGElementTags { /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement */ animate: AnimateSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement */ animateMotion: AnimateMotionSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement */ animateTransform: AnimateTransformSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement */ circle: CircleSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement */ clipPath: ClipPathSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement */ defs: DefsSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement */ desc: DescSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement */ ellipse: EllipseSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement */ feBlend: FeBlendSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement */ feColorMatrix: FeColorMatrixSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen */ feComponentTransfer: FeComponentTransferSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement */ feComposite: FeCompositeSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement */ feConvolveMatrix: FeConvolveMatrixSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement */ feDiffuseLighting: FeDiffuseLightingSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement */ feDisplacementMap: FeDisplacementMapSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement */ feDistantLight: FeDistantLightSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement */ feDropShadow: FeDropShadowSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement */ feFlood: FeFloodSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement */ feFuncA: FeFuncSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement */ feFuncB: FeFuncSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement */ feFuncG: FeFuncSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement */ feFuncR: FeFuncSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement */ feGaussianBlur: FeGaussianBlurSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement */ feImage: FeImageSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement */ feMerge: FeMergeSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement */ feMergeNode: FeMergeNodeSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement */ feMorphology: FeMorphologySVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement */ feOffset: FeOffsetSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement */ fePointLight: FePointLightSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement */ feSpecularLighting: FeSpecularLightingSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement */ feSpotLight: FeSpotLightSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement */ feTile: FeTileSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement */ feTurbulence: FeTurbulanceSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement */ filter: FilterSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement */ foreignObject: ForeignObjectSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement */ g: GSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement */ image: ImageSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement */ line: LineSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement */ linearGradient: LinearGradientSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement */ marker: MarkerSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement */ mask: MaskSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement */ metadata: MetadataSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement */ mpath: MPathSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement */ path: PathSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement */ pattern: PatternSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement */ polygon: PolygonSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement */ polyline: PolylineSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement */ radialGradient: RadialGradientSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement */ rect: RectSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement */ set: SetSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement */ stop: StopSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement */ svg: SvgSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement */ switch: SwitchSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement */ symbol: SymbolSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement */ text: TextSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement */ textPath: TextPathSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement */ tspan: TSpanSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement */ use: UseSVGAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement */ view: ViewSVGAttributes; } interface MathMLElementTags { /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ annotation: MathMLAnnotationElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ "annotation-xml": MathMLAnnotationXmlElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ math: MathMLMathElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ merror: MathMLMerrorElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mfrac: MathMLMfracElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mi: MathMLMiElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mmultiscripts: MathMLMmultiscriptsElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mn: MathMLMnElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mo: MathMLMoElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mover: MathMLMoverElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mpadded: MathMLMpaddedElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mphantom: MathMLMphantomElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mprescripts * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mprescripts: MathMLMprescriptsElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mroot: MathMLMrootElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mrow: MathMLMrowElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ ms: MathMLMsElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mspace: MathMLMspaceElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ msqrt: MathMLMsqrtElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mstyle: MathMLMstyleElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ msub: MathMLMsubElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ msubsup: MathMLMsubsupElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ msup: MathMLMsupElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mtable: MathMLMtableElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mtd: MathMLMtdElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mtext: MathMLMtextElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mtr: MathMLMtrElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ munder: MathMLMunderElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ munderover: MathMLMunderoverElementAttributes; /** * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ semantics: MathMLSemanticsElementAttributes; /** * @non-standard * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ menclose: MathMLMencloseElementAttributes; /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ maction: MathMLMactionElementAttributes; /** * @deprecated * @non-standard * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement */ mfenced: MathMLMfencedElementAttributes; } interface IntrinsicElements extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {} }