/** * Table of Elements: * * - https://potahtml.github.io/namespace-jsx-project/index.html * * The fields are a mix of: * * - MDN - https://developer.mozilla.org/ * - Solid - https://www.solidjs.com/ * - Voby - https://github.com/vobyjs/voby * - Preact - https://preactjs.com/ * - Vue - https://vuejs.org/ * - Chrome - https://www.google.com/chrome/ * - Firefox - https://www.mozilla.org/ * * TODO * * - SVG typings are non-existent */ // CSS /// /// type CSSProperties = import('csstype').PropertiesHyphen & { [key: `-${string}`]: number | string | undefined } type NSStyle = { [Key in Exclude< keyof import('csstype').PropertiesHyphen, `-${string}` > as `style:${Key}`]?: Attribute< import('csstype').PropertiesHyphen[Key] > } type CSSAttributes = NSStyle & { class?: Attribute< | string | Array | Record< string, Attribute > > style?: Attribute< | { [P in keyof CSSProperties]: Attribute } | string > 'use:css'?: Attribute [attr: `class:${string}`]: Attribute< string | boolean | number | null | undefined > } /** Pota namespace JSX */ declare namespace JSX { // JSX.ElementAttributesProperty - name of the `props` argument interface ElementAttributesProperty { props: unknown } // JSX.ElementChildrenAttribute - name of the `children` prop interface ElementChildrenAttribute { children: {} } /** * Called by TS with the component type `C` and the inferred props * shape `P` — the return type is what JSX actually validates * against. * * For class components (extending `Pota` / any `ElementClass`), the * runtime `createClass` merges JSX props on top of the class's * `props` field defaults, so every individual prop is optional at * the JSX call site. Wrapping `P` in `Partial` expresses that. * * Function components pass through unchanged — their props are * whatever the function's signature declares. */ type LibraryManagedAttributes = C extends abstract new ( ...args: any ) => ElementClass ? Partial

: P /* JSX.IntrinsicClassAttributes // class attributes JSX.IntrinsicElements // tags JSX.IntrinsicAttributes // leaks to class and functional components */ // JSX.Element - return `value` of components type Element = | string | number | bigint | boolean | symbol | undefined | void // fancy | object // such CSSStyleSheet // dom | DOMElement | ChildNode | ElementType // | DocumentFragment cannot be `children`, we use `childNodes` instead // recurse | (() => Element) | Promise | Element[] // JSX.ElementType - shape of a `component` type ElementType = | keyof IntrinsicElements | (new ( props?: Record, ) => ElementClass) | ((props?: Record) => Element) | { toString(): Element } // JSX.ElementClass - shape of `class` component type ElementClass = { props?: Record ready?: () => void cleanup?: () => void render: (props?: Record) => Element } // TYPES type Props = T & { children?: Element } type BooleanAttribute = boolean | '' type EnumeratedPseudoBoolean = 'false' | 'true' type StyleAttribute = Attribute // EVENTS type EventHandler = | EventFunction | EventObject | (EventObject & EventHandlerOptions) type EventHandlers = | EventHandler | EventHandlers[] // recursive type type EventEvent = Event & { currentTarget: Element } type EventFunction = | ((e?: EventEvent) => void) | Function type EventObject = { handleEvent(e: EventEvent): void } type EventHandlerOptions = AddEventListenerOptions & EventListenerOptions // CALLBACKS type CallbackElement = | ((node: Element) => void) | CallbackElement[] // recursive type type CallbackBind = SignalFunction | CallbackBind[] // recursive type // CORE interface PotaAttributes { children?: JSX.Element // This is `JSX.Element`! Not `Element` argument // rendering 'use:normalize'?: true // lifecycles 'use:ref'?: CallbackElement 'use:connected'?: CallbackElement 'use:disconnected'?: CallbackElement // PLUGINS 'use:bind'?: CallbackBind // no `` ! } // all elements interface IntrinsicElements extends HTMLDeprecatedElements, MathMLDeprecatedElements, MathMLElements, SVGElements, HTMLElements, HTMLSpecialElements {} interface Elements extends IntrinsicElements {} /* Attributes */ interface ElementAttributes extends PotaAttributes, CSSAttributes, AriaAttributes, EventHandlersElement { // properties 'prop:innerHTML'?: Attribute 'prop:textContent'?: Attribute // attributes // xml xmlns?: Attribute [attr: `xmlns:${string}`]: Attribute autofocus?: Attribute elementtiming?: Attribute id?: Attribute nonce?: Attribute part?: Attribute slot?: Attribute tabindex?: Attribute } interface HTMLAttributes extends ElementAttributes { // properties 'prop:innerText'?: Attribute // attributes accesskey?: Attribute anchor?: Attribute autocapitalize?: Attribute< 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' > autocorrect?: Attribute<'on' | 'off'> contenteditable?: Attribute< EnumeratedPseudoBoolean | 'plaintext-only' | 'inherit' | '' > dir?: Attribute<'ltr' | 'rtl' | 'auto'> draggable?: Attribute enterkeyhint?: Attribute< | 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' > exportparts?: Attribute hidden?: Attribute<'' | 'hidden' | 'until-found'> inert?: Attribute inputmode?: Attribute< | 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url' > is?: Attribute lang?: Attribute popover?: Attribute<'' | 'manual' | 'auto' | 'hint'> spellcheck?: Attribute<'' | EnumeratedPseudoBoolean> title?: Attribute translate?: Attribute<'yes' | 'no'> // microdata itemid?: Attribute itemprop?: Attribute itemref?: Attribute itemscope?: Attribute itemtype?: Attribute // RDFa attributes about?: Attribute datatype?: Attribute inlist?: Attribute prefix?: Attribute property?: Attribute resource?: Attribute typeof?: Attribute vocab?: Attribute /** @experimental */ virtualkeyboardpolicy?: Attribute<'' | 'auto' | 'manual'> /** @experimental */ writingsuggestions?: Attribute /** @deprecated */ contextmenu?: Attribute } interface SVGAttributes extends ElementAttributes { [attr: `${string}`]: Attribute // catch all TODO } interface MathMLAttributes extends ElementAttributes { dir?: Attribute<'ltr' | 'rtl' | 'auto'> displaystyle?: Attribute scriptlevel?: Attribute /** @deprecated */ href?: Attribute /** @deprecated */ mathbackground?: Attribute /** @deprecated */ mathcolor?: Attribute /** @deprecated */ mathsize?: Attribute } /* SPECIAL INTERFACES */ interface HTMLMediaHTMLAttributes { // attributes autoplay?: Attribute controls?: Attribute controlslist?: Attribute< | 'nodownload' | 'nofullscreen' | 'noplaybackrate' | 'noremoteplayback' | (string & {}) > crossorigin?: Attribute<'anonymous' | 'use-credentials' | ''> disableremoteplayback?: Attribute loop?: Attribute muted?: Attribute preload?: Attribute<'none' | 'metadata' | 'auto' | ''> src?: Attribute 'on:encrypted'?: EventHandlers 'on:waitingforkey'?: EventHandlers /** @deprecated */ mediagroup?: Attribute } /* SPECIAL ELEMENTS */ interface HTMLWebViewElementAttributes extends HTMLAttributes { allowpopups?: Attribute disableblinkfeatures?: Attribute disablewebsecurity?: Attribute enableblinkfeatures?: Attribute httpreferrer?: Attribute nodeintegration?: Attribute nodeintegrationinsubframes?: Attribute partition?: Attribute plugins?: Attribute preload?: Attribute src?: Attribute useragent?: Attribute webpreferences?: Attribute // does this exists? allowfullscreen?: Attribute autosize?: Attribute /** @deprecated */ blinkfeatures?: Attribute /** @deprecated */ disableguestresize?: Attribute /** @deprecated */ guestinstance?: Attribute } /* HTMLElements */ interface HTMLAnchorElementAttributes extends HTMLAttributes { download?: Attribute href?: Attribute hreflang?: Attribute ping?: Attribute referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > rel?: Attribute target?: Attribute< '_self' | '_blank' | '_parent' | '_top' | (string & {}) > type?: Attribute /** @experimental */ attributionsrc?: Attribute /** @deprecated */ charset?: Attribute /** @deprecated */ coords?: Attribute /** @deprecated */ name?: Attribute /** @deprecated */ rev?: Attribute /** @deprecated */ shape?: Attribute<'rect' | 'circle' | 'poly' | 'default'> } interface HTMLAreaElementAttributes extends HTMLAttributes { alt?: Attribute coords?: Attribute download?: Attribute href?: Attribute ping?: Attribute referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > rel?: Attribute shape?: Attribute<'rect' | 'circle' | 'poly' | 'default'> target?: Attribute< '_self' | '_blank' | '_parent' | '_top' | (string & {}) > /** @experimental */ attributionsrc?: Attribute /** @deprecated */ nohref?: Attribute } interface HTMLAudioElementAttributes extends HTMLAttributes, HTMLMediaHTMLAttributes {} interface HTMLBRElementAttributes extends HTMLAttributes { /** @deprecated */ clear?: Attribute } interface HTMLBaseElementAttributes extends HTMLAttributes { href?: Attribute target?: Attribute< '_self' | '_blank' | '_parent' | '_top' | (string & {}) > } interface HTMLBdoElementAttributes extends HTMLAttributes {} interface HTMLBodyElementAttributes extends HTMLAttributes, EventHandlersWindow { /** @deprecated */ alink?: Attribute /** @deprecated */ background?: Attribute /** @deprecated */ bgcolor?: Attribute /** @deprecated */ bottommargin?: Attribute /** @deprecated */ leftmargin?: Attribute /** @deprecated */ link?: Attribute /** @deprecated */ rightmargin?: Attribute /** @deprecated */ text?: Attribute /** @deprecated */ topmargin?: Attribute /** @deprecated */ vlink?: Attribute } interface HTMLButtonElementAttributes extends HTMLAttributes { command?: Attribute< | 'show-modal' | 'close' | 'show-popover' | 'hide-popover' | 'toggle-popover' | (string & {}) > commandfor?: Attribute disabled?: Attribute form?: Attribute formaction?: Attribute formenctype?: Attribute< | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' > formmethod?: Attribute<'post' | 'get' | 'dialog'> formnovalidate?: Attribute formtarget?: Attribute< '_self' | '_blank' | '_parent' | '_top' | (string & {}) > name?: Attribute popovertarget?: Attribute popovertargetaction?: Attribute<'hide' | 'show' | 'toggle'> type?: Attribute<'submit' | 'reset' | 'button' | 'menu'> value?: Attribute } interface HTMLCanvasElementAttributes extends HTMLAttributes { height?: Attribute width?: Attribute /** @deprecated */ 'moz-opaque'?: Attribute } interface HTMLDListElementAttributes extends HTMLAttributes { /** @deprecated */ compact?: Attribute } interface HTMLDataElementAttributes extends HTMLAttributes { value?: Attribute } interface HTMLDataListElementAttributes extends HTMLAttributes {} interface HTMLDetailsElementAttributes extends HTMLAttributes { name?: Attribute open?: Attribute } interface HTMLDialogElementAttributes extends HTMLAttributes { open?: Attribute tabindex?: never 'prop:tabindex'?: never /** @experimental */ closedby?: Attribute<'any' | 'closerequest' | 'none'> } interface HTMLDivElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute<'left' | 'right' | 'justify' | 'center'> } interface HTMLElementAttributes extends HTMLAttributes {} interface HTMLEmbedElementAttributes extends HTMLAttributes { height?: Attribute src?: Attribute type?: Attribute width?: Attribute /** @deprecated */ align?: Attribute<'left' | 'right' | 'justify' | 'center'> /** @deprecated */ name?: Attribute } interface HTMLFieldSetElementAttributes extends HTMLAttributes { disabled?: Attribute form?: Attribute name?: Attribute } interface HTMLFormElementAttributes extends HTMLAttributes { 'accept-charset'?: Attribute action?: Attribute autocomplete?: Attribute<'on' | 'off'> encoding?: Attribute< | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' > enctype?: Attribute< | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' > method?: Attribute<'post' | 'get' | 'dialog'> name?: Attribute novalidate?: Attribute rel?: Attribute target?: Attribute< '_self' | '_blank' | '_parent' | '_top' | (string & {}) > /** @deprecated */ accept?: Attribute } interface HTMLHRElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute /** @deprecated */ color?: Attribute /** @deprecated */ noshade?: Attribute /** @deprecated */ size?: Attribute /** @deprecated */ width?: Attribute } interface HTMLHeadElementAttributes extends HTMLAttributes { /** @deprecated */ profile?: Attribute } interface HTMLHeadingElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute<'left' | 'right' | 'justify' | 'center'> } interface HTMLHtmlElementAttributes extends HTMLAttributes { /** @deprecated */ version?: Attribute } interface HTMLIFrameElementAttributes extends HTMLAttributes { allow?: Attribute allowfullscreen?: Attribute height?: Attribute loading?: Attribute<'eager' | 'lazy'> name?: Attribute referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > sandbox?: Attribute< | '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' | string > src?: Attribute srcdoc?: Attribute width?: Attribute /** @non-standard */ browsingtopics?: Attribute /** @experimental */ credentialless?: Attribute /** @experimental */ csp?: Attribute /** @experimental */ sharedstoragewritable?: Attribute /** @experimental */ adauctionheaders?: Attribute /** @experimental */ privatetoken?: Attribute /** @deprecated */ allowpaymentrequest?: Attribute /** @deprecated */ allowtransparency?: Attribute /** @deprecated */ align?: Attribute /** @deprecated */ frameborder?: Attribute /** @deprecated */ longdesc?: Attribute /** @deprecated */ marginheight?: Attribute /** @deprecated */ marginwidth?: Attribute /** @deprecated */ scrolling?: Attribute<'yes' | 'no' | 'auto'> /** @deprecated */ seamless?: Attribute } interface HTMLImageElementAttributes extends HTMLAttributes { alt?: Attribute attributionsrc?: Attribute browsingtopics?: Attribute crossorigin?: Attribute<'anonymous' | 'use-credentials' | ''> decoding?: Attribute<'sync' | 'async' | 'auto'> fetchpriority?: Attribute<'high' | 'low' | 'auto'> height?: Attribute ismap?: Attribute loading?: Attribute<'eager' | 'lazy'> referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > sizes?: Attribute src?: Attribute srcset?: Attribute usemap?: Attribute width?: Attribute /** @experimental */ sharedstoragewritable?: Attribute /** @deprecated */ align?: Attribute<'top' | 'middle' | 'bottom' | 'left' | 'right'> /** @deprecated */ border?: Attribute /** @deprecated */ hspace?: Attribute /** @deprecated */ intrinsicsize?: Attribute /** @deprecated */ longdesc?: Attribute /** @deprecated */ lowsrc?: Attribute /** @deprecated */ name?: Attribute /** @deprecated */ vspace?: Attribute } interface HTMLInputElementAttributes extends HTMLAttributes { // attributes accept?: Attribute alt?: Attribute alpha?: Attribute autocomplete?: Attribute< | '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 & {}) > capture?: Attribute< 'user' | 'environment' | BooleanAttribute | (string & {}) > checked?: Attribute colorspace?: Attribute dirname?: Attribute disabled?: Attribute form?: Attribute formaction?: Attribute formenctype?: Attribute< | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' > formmethod?: Attribute<'post' | 'get' | 'dialog'> formnovalidate?: Attribute formtarget?: Attribute height?: Attribute incremental?: Attribute list?: Attribute max?: Attribute maxlength?: Attribute min?: Attribute minlength?: Attribute multiple?: Attribute name?: Attribute pattern?: Attribute placeholder?: Attribute popovertarget?: Attribute popovertargetaction?: Attribute<'hide' | 'show' | 'toggle'> readonly?: Attribute required?: Attribute results?: Attribute size?: Attribute src?: Attribute step?: Attribute type?: Attribute< | 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' > value?: Attribute webkitdirectory?: Attribute width?: Attribute /** @deprecated */ align?: Attribute /** @deprecated */ usemap?: Attribute } interface HTMLLIElementAttributes extends HTMLAttributes { value?: Attribute /** @deprecated */ type?: Attribute<'1' | 'a' | 'A' | 'i' | 'I'> } interface HTMLLabelElementAttributes extends HTMLAttributes { for?: Attribute form?: Attribute } interface HTMLLegendElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute } interface HTMLLinkElementAttributes extends HTMLAttributes { as?: Attribute< | 'audio' | 'document' | 'embed' | 'fetch' | 'font' | 'image' | 'manifest' | 'object' | 'script' | 'style' | 'track' | 'video' | 'worker' > color?: Attribute crossorigin?: Attribute<'anonymous' | 'use-credentials' | ''> disabled?: Attribute fetchpriority?: Attribute<'high' | 'low' | 'auto'> href?: Attribute hreflang?: Attribute imagesizes?: Attribute imagesrcset?: Attribute integrity?: Attribute media?: Attribute referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > rel?: Attribute sizes?: Attribute type?: Attribute /** @experimental */ blocking?: Attribute<'render'> /** @deprecated */ charset?: Attribute /** @deprecated */ rev?: Attribute /** @deprecated */ target?: Attribute } interface HTMLMapElementAttributes extends HTMLAttributes { name?: Attribute } interface HTMLMenuElementAttributes extends HTMLAttributes { /** @deprecated */ compact?: Attribute /** @deprecated */ label?: Attribute /** @deprecated */ type?: Attribute<'context' | 'toolbar'> } interface HTMLMetaElementAttributes extends HTMLAttributes { charset?: Attribute content?: Attribute 'http-equiv'?: Attribute< | 'content-security-policy' | 'content-type' | 'default-style' | 'x-ua-compatible' | 'refresh' > media?: Attribute name?: Attribute /** @deprecated */ scheme?: Attribute } interface HTMLMeterElementAttributes extends HTMLAttributes { form?: Attribute high?: Attribute low?: Attribute max?: Attribute min?: Attribute optimum?: Attribute value?: Attribute } interface HTMLModElementAttributes extends HTMLAttributes { cite?: Attribute datetime?: Attribute } interface HTMLOListElementAttributes extends HTMLAttributes { reversed?: Attribute start?: Attribute type?: Attribute<'1' | 'a' | 'A' | 'i' | 'I'> /** @deprecated */ compact?: Attribute } interface HTMLObjectElementAttributes extends HTMLAttributes { data?: Attribute form?: Attribute height?: Attribute name?: Attribute type?: Attribute width?: Attribute wmode?: Attribute /** @deprecated */ align?: Attribute /** @deprecated */ archive?: Attribute /** @deprecated */ border?: Attribute /** @deprecated */ classid?: Attribute /** @deprecated */ code?: Attribute /** @deprecated */ codebase?: Attribute /** @deprecated */ codetype?: Attribute /** @deprecated */ declare?: Attribute /** @deprecated */ hspace?: Attribute /** @deprecated */ standby?: Attribute /** @deprecated */ typemustmatch?: Attribute /** @deprecated */ usemap?: Attribute /** @deprecated */ vspace?: Attribute } interface HTMLOptGroupElementAttributes extends HTMLAttributes { disabled?: Attribute label?: Attribute } interface HTMLOptionElementAttributes extends HTMLAttributes { disabled?: Attribute label?: Attribute selected?: Attribute value?: Attribute } interface HTMLOutputElementAttributes extends HTMLAttributes { for?: Attribute form?: Attribute name?: Attribute } interface HTMLParagraphElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute<'left' | 'right' | 'justify' | 'center'> } interface HTMLPictureElementAttributes extends HTMLAttributes {} interface HTMLPreElementAttributes extends HTMLAttributes { /** @deprecated */ width?: Attribute /** @deprecated */ wrap?: Attribute } interface HTMLPreElementListingAttributes extends HTMLAttributes { /** @deprecated */ width?: Attribute } interface HTMLPreElementXmpAttributes extends HTMLAttributes { /** @deprecated */ width?: Attribute } interface HTMLProgressElementAttributes extends HTMLAttributes { max?: Attribute value?: Attribute } interface HTMLQuoteElementAttributes extends HTMLAttributes { cite?: Attribute } interface HTMLScriptElementAttributes extends HTMLAttributes { async?: Attribute crossorigin?: Attribute<'anonymous' | 'use-credentials' | ''> defer?: Attribute fetchpriority?: Attribute<'high' | 'low' | 'auto'> for?: Attribute integrity?: Attribute nomodule?: Attribute referrerpolicy?: Attribute< | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' > src?: Attribute type?: Attribute< 'importmap' | 'module' | 'speculationrules' | (string & {}) > /** @experimental */ attributionsrc?: Attribute /** @experimental */ blocking?: Attribute<'render'> /** @deprecated */ charset?: Attribute /** @deprecated */ event?: Attribute /** @deprecated */ language?: Attribute } interface HTMLSelectElementAttributes extends HTMLAttributes { autocomplete?: Attribute< | '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 & {}) > disabled?: Attribute form?: Attribute multiple?: Attribute name?: Attribute required?: Attribute size?: Attribute value?: Attribute } interface HTMLSlotElementAttributes extends HTMLAttributes { name?: Attribute } interface HTMLSourceElementAttributes extends HTMLAttributes { height?: Attribute media?: Attribute sizes?: Attribute src?: Attribute srcset?: Attribute type?: Attribute width?: Attribute } interface HTMLSpanElementAttributes extends HTMLAttributes {} interface HTMLStyleElementAttributes extends HTMLAttributes { media?: Attribute /** @experimental */ blocking?: Attribute<'render'> /** @deprecated */ scoped?: Attribute /** @deprecated */ type?: Attribute } interface HTMLTableCaptionElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute<'left' | 'center' | 'right'> } interface HTMLTableCellTdElementAttributes extends HTMLAttributes { colspan?: Attribute headers?: Attribute rowspan?: Attribute /** @deprecated */ abbr?: Attribute /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ axis?: Attribute /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ height?: Attribute /** @deprecated */ nowrap?: Attribute /** @deprecated */ scope?: Attribute<'col' | 'row' | 'rowgroup' | 'colgroup'> /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> /** @deprecated */ width?: Attribute } interface HTMLTableCellThElementAttributes extends HTMLAttributes { abbr?: Attribute colspan?: Attribute headers?: Attribute rowspan?: Attribute scope?: Attribute<'col' | 'row' | 'rowgroup' | 'colgroup'> /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ axis?: Attribute /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ height?: Attribute /** @deprecated */ nowrap?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> /** @deprecated */ width?: Attribute } interface HTMLTableColElementAttributes extends HTMLAttributes { span?: Attribute /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> /** @deprecated */ width?: Attribute } interface HTMLTableElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute<'left' | 'center' | 'right'> /** @deprecated */ bgcolor?: Attribute /** @deprecated */ border?: Attribute /** @deprecated */ cellpadding?: Attribute /** @deprecated */ cellspacing?: Attribute /** @deprecated */ frame?: Attribute< | 'void' | 'above' | 'below' | 'hsides' | 'vsides' | 'lhs' | 'rhs' | 'box' | 'border' > /** @deprecated */ rules?: Attribute<'none' | 'groups' | 'rows' | 'cols' | 'all'> /** @deprecated */ summary?: Attribute /** @deprecated */ width?: Attribute } interface HTMLTableRowElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> } interface HTMLTableSectionElementAttributes extends HTMLAttributes {} interface HTMLTableSectionBodyElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> } interface HTMLTableSectionFootElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> } interface HTMLTableSectionHeadElementAttributes extends HTMLAttributes { /** @deprecated */ align?: Attribute< 'left' | 'center' | 'right' | 'justify' | 'char' > /** @deprecated */ bgcolor?: Attribute /** @deprecated */ char?: Attribute /** @deprecated */ charoff?: Attribute /** @deprecated */ valign?: Attribute<'baseline' | 'bottom' | 'middle' | 'top'> } interface HTMLTemplateElementAttributes extends HTMLAttributes { shadowrootclonable?: Attribute shadowrootcustomelementregistry?: Attribute shadowrootdelegatesfocus?: Attribute shadowrootmode?: Attribute<'open' | 'closed'> shadowrootserializable?: Attribute } interface HTMLTextAreaElementAttributes extends HTMLAttributes { autocomplete?: Attribute< | '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 & {}) > cols?: Attribute dirname?: Attribute disabled?: Attribute form?: Attribute maxlength?: Attribute minlength?: Attribute name?: Attribute placeholder?: Attribute readonly?: Attribute required?: Attribute rows?: Attribute wrap?: Attribute<'hard' | 'soft' | 'off'> } interface HTMLTimeElementAttributes extends HTMLAttributes { datetime?: Attribute } interface HTMLTitleElementAttributes extends HTMLAttributes {} interface HTMLTrackElementAttributes extends HTMLAttributes { default?: Attribute kind?: Attribute< | 'alternative' | 'descriptions' | 'main' | 'main-desc' | 'translation' | 'commentary' // ?? | 'subtitles' | 'captions' | 'chapters' | 'metadata' > label?: Attribute src?: Attribute srclang?: Attribute } interface HTMLUListElementAttributes extends HTMLAttributes { /** @deprecated */ compact?: Attribute /** @deprecated */ type?: Attribute<'circle' | 'disc' | 'square'> } interface HTMLVideoElementAttributes extends HTMLAttributes, HTMLMediaHTMLAttributes { disablepictureinpicture?: Attribute height?: Attribute playsinline?: Attribute poster?: Attribute width?: Attribute 'on:enterpictureinpicture'?: EventHandlers< PictureInPictureEvent, Element > 'on:leavepictureinpicture'?: EventHandlers< PictureInPictureEvent, Element > } /* HTMLDeprecatedElements */ interface HTMLDirectoryElementAttributes extends HTMLAttributes { /** @deprecated */ compact?: Attribute } interface HTMLFontElementAttributes extends HTMLAttributes { /** @deprecated */ color?: Attribute /** @deprecated */ face?: Attribute /** @deprecated */ size?: Attribute } interface HTMLFrameElementAttributes extends HTMLAttributes { /** @deprecated */ frameborder?: Attribute /** @deprecated */ longdesc?: Attribute /** @deprecated */ marginheight?: Attribute /** @deprecated */ marginwidth?: Attribute /** @deprecated */ name?: Attribute /** @deprecated */ noresize?: Attribute /** @deprecated */ scrolling?: Attribute<'yes' | 'no'> /** @deprecated */ src?: Attribute } interface HTMLFrameSetElementAttributes extends HTMLAttributes, EventHandlersWindow { /** @deprecated */ cols?: Attribute /** @deprecated */ rows?: Attribute } interface HTMLMarqueeElementAttributes extends HTMLAttributes { /** @deprecated */ behavior?: Attribute<'scroll' | 'slide' | 'alternate'> /** @deprecated */ bgcolor?: Attribute /** @deprecated */ direction?: Attribute<'left' | 'right' | 'up' | 'down'> /** @deprecated */ height?: Attribute /** @deprecated */ hspace?: Attribute /** @deprecated */ loop?: Attribute /** @deprecated */ scrollamount?: Attribute /** @deprecated */ scrolldelay?: Attribute /** @deprecated */ truespeed?: Attribute /** @deprecated */ vspace?: Attribute /** @deprecated */ width?: Attribute } interface HTMLParamElementAttributes extends HTMLAttributes { /** @deprecated */ name?: Attribute /** @deprecated */ value?: Attribute /** @deprecated */ type?: Attribute /** @deprecated */ valuetype?: Attribute<'data' | 'ref' | 'object'> } interface HTMLUnknownElementAttributes extends HTMLAttributes {} interface HTMLKeygenElementAttributes extends HTMLAttributes { /** @deprecated */ challenge?: Attribute /** @deprecated */ disabled?: Attribute /** @deprecated */ form?: Attribute /** @deprecated */ keyparams?: Attribute /** @deprecated */ keytype?: Attribute /** @deprecated */ name?: Attribute } /* MathMLElements */ interface MathMLAnnotationElementAttributes extends MathMLAttributes { encoding?: Attribute /** @deprecated */ src?: Attribute } interface MathMLAnnotationXmlElementAttributes extends MathMLAttributes { encoding?: Attribute /** @deprecated */ src?: Attribute } interface MathMLMathElementAttributes extends MathMLAttributes { display?: Attribute<'block' | 'inline'> } interface MathMLMerrorElementAttributes extends MathMLAttributes {} interface MathMLMfracElementAttributes extends MathMLAttributes { linethickness?: Attribute /** @deprecated */ denomalign?: Attribute<'center' | 'left' | 'right'> /** @deprecated */ numalign?: Attribute<'center' | 'left' | 'right'> } interface MathMLMiElementAttributes extends MathMLAttributes { mathvariant?: Attribute<'normal'> } interface MathMLMmultiscriptsElementAttributes extends MathMLAttributes { /** @deprecated */ subscriptshift?: Attribute /** @deprecated */ superscriptshift?: Attribute } interface MathMLMnElementAttributes extends MathMLAttributes {} interface MathMLMoElementAttributes extends MathMLAttributes { fence?: Attribute form?: Attribute<'prefix' | 'infix' | 'postfix'> largeop?: Attribute lspace?: Attribute maxsize?: Attribute minsize?: Attribute movablelimits?: Attribute rspace?: Attribute separator?: Attribute stretchy?: Attribute symmetric?: Attribute /** @non-standard */ accent?: Attribute } interface MathMLMoverElementAttributes extends MathMLAttributes { accent?: Attribute } interface MathMLMpaddedElementAttributes extends MathMLAttributes { depth?: Attribute height?: Attribute lspace?: Attribute voffset?: Attribute width?: Attribute } interface MathMLMphantomElementAttributes extends MathMLAttributes {} interface MathMLMprescriptsElementAttributes extends MathMLAttributes {} interface MathMLMrootElementAttributes extends MathMLAttributes {} interface MathMLMrowElementAttributes extends MathMLAttributes {} interface MathMLMsElementAttributes extends MathMLAttributes { /** @deprecated */ lquote?: Attribute /** @deprecated */ rquote?: Attribute } interface MathMLMspaceElementAttributes extends MathMLAttributes { depth?: Attribute height?: Attribute width?: Attribute } interface MathMLMsqrtElementAttributes extends MathMLAttributes {} interface MathMLMstyleElementAttributes extends MathMLAttributes { /** @deprecated */ background?: Attribute /** @deprecated */ color?: Attribute /** @deprecated */ fontsize?: Attribute /** @deprecated */ fontstyle?: Attribute /** @deprecated */ fontweight?: Attribute /** @deprecated */ scriptminsize?: Attribute /** @deprecated */ scriptsizemultiplier?: Attribute } interface MathMLMsubElementAttributes extends MathMLAttributes { /** @deprecated */ subscriptshift?: Attribute } interface MathMLMsubsupElementAttributes extends MathMLAttributes { /** @deprecated */ subscriptshift?: Attribute /** @deprecated */ superscriptshift?: Attribute } interface MathMLMsupElementAttributes extends MathMLAttributes { /** @deprecated */ superscriptshift?: Attribute } interface MathMLMtableElementAttributes extends MathMLAttributes { /** @non-standard */ align?: Attribute< 'axis' | 'baseline' | 'bottom' | 'center' | 'top' > /** @non-standard */ columnalign?: Attribute<'center' | 'left' | 'right'> /** @non-standard */ columnlines?: Attribute<'dashed' | 'none' | 'solid'> /** @non-standard */ columnspacing?: Attribute /** @non-standard */ frame?: Attribute<'dashed' | 'none' | 'solid'> /** @non-standard */ framespacing?: Attribute /** @non-standard */ rowalign?: Attribute< 'axis' | 'baseline' | 'bottom' | 'center' | 'top' > /** @non-standard */ rowlines?: Attribute<'dashed' | 'none' | 'solid'> /** @non-standard */ rowspacing?: Attribute /** @non-standard */ width?: Attribute } interface MathMLMtdElementAttributes extends MathMLAttributes { columnspan?: Attribute rowspan?: Attribute /** @non-standard */ columnalign?: Attribute<'center' | 'left' | 'right'> /** @non-standard */ rowalign?: Attribute< 'axis' | 'baseline' | 'bottom' | 'center' | 'top' > } interface MathMLMtextElementAttributes extends MathMLAttributes {} interface MathMLMtrElementAttributes extends MathMLAttributes { /** @non-standard */ columnalign?: Attribute<'center' | 'left' | 'right'> /** @non-standard */ rowalign?: Attribute< 'axis' | 'baseline' | 'bottom' | 'center' | 'top' > } interface MathMLMunderElementAttributes extends MathMLAttributes { accentunder?: Attribute } interface MathMLMunderoverElementAttributes extends MathMLAttributes { accent?: Attribute accentunder?: Attribute } interface MathMLSemanticsElementAttributes extends MathMLAttributes {} /* MathMLDeprecatedElements */ interface MathMLMactionElementAttributes extends MathMLAttributes { /** @deprecated */ actiontype?: Attribute<'statusline' | 'toggle'> /** @deprecated */ selection?: Attribute } interface MathMLMencloseElementAttributes extends MathMLAttributes { /** @non-standard */ notation?: Attribute } interface MathMLMfencedElementAttributes extends MathMLAttributes { close?: Attribute open?: Attribute separators?: Attribute } /* SVGElements */ interface SVGAElementAttributes extends SVGAttributes {} interface SVGAnimateElementAttributes extends SVGAttributes {} interface SVGAnimateMotionElementAttributes extends SVGAttributes {} interface SVGAnimateTransformElementAttributes extends SVGAttributes {} interface SVGCircleElementAttributes extends SVGAttributes {} interface SVGClipPathElementAttributes extends SVGAttributes {} interface SVGDefsElementAttributes extends SVGAttributes {} interface SVGDescElementAttributes extends SVGAttributes {} interface SVGEllipseElementAttributes extends SVGAttributes {} interface SVGFEBlendElementAttributes extends SVGAttributes {} interface SVGFEColorMatrixElementAttributes extends SVGAttributes {} interface SVGFEComponentTransferElementAttributes extends SVGAttributes {} interface SVGFECompositeElementAttributes extends SVGAttributes {} interface SVGFEConvolveMatrixElementAttributes extends SVGAttributes {} interface SVGFEDiffuseLightingElementAttributes extends SVGAttributes {} interface SVGFEDisplacementMapElementAttributes extends SVGAttributes {} interface SVGFEDistantLightElementAttributes extends SVGAttributes {} interface SVGFEDropShadowElementAttributes extends SVGAttributes {} interface SVGFEFloodElementAttributes extends SVGAttributes {} interface SVGFEFuncAElementAttributes extends SVGAttributes {} interface SVGFEFuncBElementAttributes extends SVGAttributes {} interface SVGFEFuncGElementAttributes extends SVGAttributes {} interface SVGFEFuncRElementAttributes extends SVGAttributes {} interface SVGFEGaussianBlurElementAttributes extends SVGAttributes {} interface SVGFEImageElementAttributes extends SVGAttributes {} interface SVGFEMergeElementAttributes extends SVGAttributes {} interface SVGFEMergeNodeElementAttributes extends SVGAttributes {} interface SVGFEMorphologyElementAttributes extends SVGAttributes {} interface SVGFEOffsetElementAttributes extends SVGAttributes {} interface SVGFEPointLightElementAttributes extends SVGAttributes {} interface SVGFESpecularLightingElementAttributes extends SVGAttributes {} interface SVGFESpotLightElementAttributes extends SVGAttributes {} interface SVGFETileElementAttributes extends SVGAttributes {} interface SVGFETurbulenceElementAttributes extends SVGAttributes {} interface SVGFilterElementAttributes extends SVGAttributes {} interface SVGForeignObjectElementAttributes extends SVGAttributes {} interface SVGGElementAttributes extends SVGAttributes {} interface SVGImageElementAttributes extends SVGAttributes {} interface SVGLineElementAttributes extends SVGAttributes {} interface SVGLinearGradientElementAttributes extends SVGAttributes {} interface SVGMPathElementAttributes extends SVGAttributes {} interface SVGMarkerElementAttributes extends SVGAttributes {} interface SVGMaskElementAttributes extends SVGAttributes {} interface SVGMetadataElementAttributes extends SVGAttributes {} interface SVGPathElementAttributes extends SVGAttributes {} interface SVGPatternElementAttributes extends SVGAttributes {} interface SVGPolygonElementAttributes extends SVGAttributes {} interface SVGPolylineElementAttributes extends SVGAttributes {} interface SVGRadialGradientElementAttributes extends SVGAttributes {} interface SVGRectElementAttributes extends SVGAttributes {} interface SVGSVGElementAttributes extends SVGAttributes, EventHandlersWindow {} interface SVGScriptElementAttributes extends SVGAttributes {} interface SVGSetElementAttributes extends SVGAttributes {} interface SVGStopElementAttributes extends SVGAttributes {} interface SVGStyleElementAttributes extends SVGAttributes {} interface SVGSwitchElementAttributes extends SVGAttributes {} interface SVGSymbolElementAttributes extends SVGAttributes {} interface SVGTSpanElementAttributes extends SVGAttributes {} interface SVGTextElementAttributes extends SVGAttributes {} interface SVGTextPathElementAttributes extends SVGAttributes {} interface SVGTitleElementAttributes extends SVGAttributes {} interface SVGUseElementAttributes extends SVGAttributes {} interface SVGViewElementAttributes extends SVGAttributes {} // HTMLElements interface HTMLSpecialElements { /** @url https://www.electronjs.org/docs/latest/api/webview-tag */ webview: HTMLWebViewElementAttributes & Properties } interface HTMLElements { /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement */ a: HTMLAnchorElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ abbr: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ address: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement */ area: HTMLAreaElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ article: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ aside: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement */ audio: HTMLAudioElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ b: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement */ base: HTMLBaseElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ bdi: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ bdo: HTMLBdoElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement */ blockquote: HTMLQuoteElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement */ body: HTMLBodyElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement */ br: HTMLBRElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement */ button: HTMLButtonElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement */ canvas: HTMLCanvasElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement */ caption: HTMLTableCaptionElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ cite: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ code: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement */ col: HTMLTableColElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement */ colgroup: HTMLTableColElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement */ data: HTMLDataElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement */ datalist: HTMLDataListElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dd: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement */ del: HTMLModElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement */ details: HTMLDetailsElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dfn: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement */ dialog: HTMLDialogElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement */ div: HTMLDivElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement */ dl: HTMLDListElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ dt: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ em: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement */ embed: HTMLEmbedElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement */ fieldset: HTMLFieldSetElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ figcaption: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ figure: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ footer: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement */ form: HTMLFormElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h1: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h2: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h3: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h4: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h5: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6 * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement */ h6: HTMLHeadingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement */ head: HTMLHeadElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ header: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ hgroup: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement */ hr: HTMLHRElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement */ html: HTMLHtmlElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ i: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement */ iframe: HTMLIFrameElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement */ img: HTMLImageElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement */ input: HTMLInputElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement */ ins: HTMLModElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ kbd: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement */ label: HTMLLabelElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement */ legend: HTMLLegendElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement */ li: HTMLLIElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement */ link: HTMLLinkElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ main: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement */ map: HTMLMapElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ mark: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement */ menu: HTMLMenuElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement */ meta: HTMLMetaElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement */ meter: HTMLMeterElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ nav: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ noscript: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement */ object: HTMLObjectElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement */ ol: HTMLOListElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement */ optgroup: HTMLOptGroupElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement */ option: HTMLOptionElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement */ output: HTMLOutputElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement */ p: HTMLParagraphElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement */ picture: HTMLPictureElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement */ pre: HTMLPreElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement */ progress: HTMLProgressElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement */ q: HTMLQuoteElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rp: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rt: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ ruby: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ s: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ samp: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement */ script: HTMLScriptElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ search: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ section: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement */ select: HTMLSelectElementAttributes & Properties /** * @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 & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ small: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement */ source: HTMLSourceElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement */ span: HTMLSpanElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ strong: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement */ style: HTMLStyleElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ sub: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ summary: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ sup: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement */ table: HTMLTableElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ tbody: HTMLTableSectionBodyElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement */ td: HTMLTableCellTdElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement */ template: HTMLTemplateElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement */ textarea: HTMLTextAreaElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ tfoot: HTMLTableSectionFootElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement */ th: HTMLTableCellThElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement */ thead: HTMLTableSectionHeadElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement */ time: HTMLTimeElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement */ title: HTMLTitleElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement */ tr: HTMLTableRowElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement */ track: HTMLTrackElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ u: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement */ ul: HTMLUListElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ var: HTMLElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement */ video: HTMLVideoElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ wbr: HTMLElementAttributes & Properties } // HTMLDeprecatedElements interface HTMLDeprecatedElements { /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ acronym: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/applet * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ applet: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/basefont * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ basefont: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bgsound * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ bgsound: HTMLUnknownElementAttributes & Properties /** * @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: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blink * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ blink: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ center: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dir * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement */ dir: HTMLDirectoryElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement */ font: HTMLFontElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement */ frame: HTMLFrameElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameSetElement */ frameset: HTMLFrameSetElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/isindex * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ isindex: HTMLUnknownElementAttributes & Properties /** * @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: HTMLKeygenElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/listing * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement */ listing: HTMLPreElementListingAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement */ marquee: HTMLMarqueeElementAttributes & Properties /** * @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: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/multicol * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ multicol: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nextid * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ nextid: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ nobr: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noembed * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ noembed: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noindex * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ noindex: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ noframes: HTMLElementAttributes & Properties /** * @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: HTMLParamElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/plaintext * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ plaintext: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rb: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ rtc: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/spacer * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement */ spacer: HTMLUnknownElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ strike: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement */ tt: HTMLElementAttributes & Properties /** * @deprecated * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement */ xmp: HTMLPreElementXmpAttributes & Properties } // MathMLElements interface MathMLElements { /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties /** * @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 & Properties } // MathMLDeprecatedElements interface MathMLDeprecatedElements { /** * @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 & Properties /** * @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 & Properties } // SVGElements interface SVGElements { /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement */ animate: SVGAnimateElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement */ animateMotion: SVGAnimateMotionElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement */ animateTransform: SVGAnimateTransformElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement */ circle: SVGCircleElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement */ clipPath: SVGClipPathElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement */ defs: SVGDefsElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement */ desc: SVGDescElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement */ ellipse: SVGEllipseElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement */ feBlend: SVGFEBlendElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement */ feColorMatrix: SVGFEColorMatrixElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElement */ feComponentTransfer: SVGFEComponentTransferElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement */ feComposite: SVGFECompositeElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement */ feConvolveMatrix: SVGFEConvolveMatrixElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement */ feDiffuseLighting: SVGFEDiffuseLightingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement */ feDisplacementMap: SVGFEDisplacementMapElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement */ feDistantLight: SVGFEDistantLightElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement */ feDropShadow: SVGFEDropShadowElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement */ feFlood: SVGFEFloodElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement */ feFuncA: SVGFEFuncAElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement */ feFuncB: SVGFEFuncBElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement */ feFuncG: SVGFEFuncGElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement */ feFuncR: SVGFEFuncRElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement */ feGaussianBlur: SVGFEGaussianBlurElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement */ feImage: SVGFEImageElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement */ feMerge: SVGFEMergeElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement */ feMergeNode: SVGFEMergeNodeElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement */ feMorphology: SVGFEMorphologyElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement */ feOffset: SVGFEOffsetElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement */ fePointLight: SVGFEPointLightElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement */ feSpecularLighting: SVGFESpecularLightingElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement */ feSpotLight: SVGFESpotLightElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement */ feTile: SVGFETileElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement */ feTurbulence: SVGFETurbulenceElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement */ filter: SVGFilterElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement */ foreignObject: SVGForeignObjectElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement */ g: SVGGElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement */ image: SVGImageElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement */ line: SVGLineElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement */ linearGradient: SVGLinearGradientElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement */ marker: SVGMarkerElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement */ mask: SVGMaskElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement */ metadata: SVGMetadataElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement */ mpath: SVGMPathElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement */ path: SVGPathElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement */ pattern: SVGPatternElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement */ polygon: SVGPolygonElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement */ polyline: SVGPolylineElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement */ radialGradient: SVGRadialGradientElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement */ rect: SVGRectElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement */ set: SVGSetElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement */ stop: SVGStopElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement */ svg: SVGSVGElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement */ switch: SVGSwitchElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement */ symbol: SVGSymbolElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement */ text: SVGTextElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement */ textPath: SVGTextPathElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement */ tspan: SVGTSpanElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement */ use: SVGUseElementAttributes & Properties /** * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement */ view: SVGViewElementAttributes & Properties } /** EVENTS */ // element interface EventHandlersElement { 'on:abort'?: EventHandlers 'on:animationcancel'?: EventHandlers 'on:animationend'?: EventHandlers 'on:animationiteration'?: EventHandlers 'on:animationstart'?: EventHandlers 'on:auxclick'?: EventHandlers 'on:beforecopy'?: EventHandlers 'on:beforecut'?: EventHandlers 'on:beforeinput'?: EventHandlers 'on:beforematch'?: EventHandlers 'on:beforepaste'?: EventHandlers 'on:beforetoggle'?: EventHandlers 'on:beforexrselect'?: EventHandlers 'on:blur'?: EventHandlers 'on:cancel'?: EventHandlers 'on:canplay'?: EventHandlers 'on:canplaythrough'?: EventHandlers 'on:change'?: EventHandlers 'on:click'?: EventHandlers 'on:close'?: EventHandlers 'on:command'?: EventHandlers 'on:compositionend'?: EventHandlers 'on:compositionstart'?: EventHandlers 'on:compositionupdate'?: EventHandlers 'on:contentvisibilityautostatechange'?: EventHandlers< ContentVisibilityAutoStateChangeEvent, Element > 'on:contextlost'?: EventHandlers 'on:contextmenu'?: EventHandlers 'on:contextrestored'?: EventHandlers 'on:copy'?: EventHandlers 'on:cuechange'?: EventHandlers 'on:cut'?: EventHandlers 'on:dblclick'?: EventHandlers 'on:drag'?: EventHandlers 'on:dragend'?: EventHandlers 'on:dragenter'?: EventHandlers 'on:dragexit'?: EventHandlers 'on:dragleave'?: EventHandlers 'on:dragover'?: EventHandlers 'on:dragstart'?: EventHandlers 'on:drop'?: EventHandlers 'on:durationchange'?: EventHandlers 'on:emptied'?: EventHandlers 'on:ended'?: EventHandlers 'on:error'?: EventHandlers 'on:focus'?: EventHandlers 'on:focusin'?: EventHandlers 'on:focusout'?: EventHandlers 'on:formdata'?: EventHandlers 'on:fullscreenchange'?: EventHandlers 'on:fullscreenerror'?: EventHandlers 'on:gotpointercapture'?: EventHandlers 'on:input'?: EventHandlers 'on:invalid'?: EventHandlers 'on:keydown'?: EventHandlers 'on:keypress'?: EventHandlers 'on:keyup'?: EventHandlers 'on:load'?: EventHandlers 'on:loadeddata'?: EventHandlers 'on:loadedmetadata'?: EventHandlers 'on:loadstart'?: EventHandlers 'on:lostpointercapture'?: EventHandlers 'on:mousedown'?: EventHandlers 'on:mouseenter'?: EventHandlers 'on:mouseleave'?: EventHandlers 'on:mousemove'?: EventHandlers 'on:mouseout'?: EventHandlers 'on:mouseover'?: EventHandlers 'on:mouseup'?: EventHandlers 'on:paste'?: EventHandlers 'on:pause'?: EventHandlers 'on:play'?: EventHandlers 'on:playing'?: EventHandlers 'on:pointercancel'?: EventHandlers 'on:pointerdown'?: EventHandlers 'on:pointerenter'?: EventHandlers 'on:pointerleave'?: EventHandlers 'on:pointermove'?: EventHandlers 'on:pointerout'?: EventHandlers 'on:pointerover'?: EventHandlers 'on:pointerrawupdate'?: EventHandlers 'on:pointerup'?: EventHandlers 'on:progress'?: EventHandlers 'on:ratechange'?: EventHandlers 'on:reset'?: EventHandlers 'on:resize'?: EventHandlers 'on:scroll'?: EventHandlers 'on:scrollend'?: EventHandlers 'on:scrollsnapchange'?: EventHandlers 'on:scrollsnapchanging'?: EventHandlers 'on:securitypolicyviolation'?: EventHandlers< SecurityPolicyViolationEvent, Element > 'on:seeked'?: EventHandlers 'on:seeking'?: EventHandlers 'on:select'?: EventHandlers 'on:selectionchange'?: EventHandlers 'on:selectstart'?: EventHandlers 'on:slotchange'?: EventHandlers 'on:stalled'?: EventHandlers 'on:submit'?: EventHandlers 'on:suspend'?: EventHandlers 'on:timeupdate'?: EventHandlers 'on:toggle'?: EventHandlers 'on:touchcancel'?: EventHandlers 'on:touchend'?: EventHandlers 'on:touchmove'?: EventHandlers 'on:touchstart'?: EventHandlers 'on:transitioncancel'?: EventHandlers 'on:transitionend'?: EventHandlers 'on:transitionrun'?: EventHandlers 'on:transitionstart'?: EventHandlers 'on:volumechange'?: EventHandlers 'on:waiting'?: EventHandlers 'on:wheel'?: EventHandlers } // window interface EventHandlersWindow { 'on:afterprint'?: EventHandlers 'on:beforeprint'?: EventHandlers 'on:beforeunload'?: EventHandlers 'on:clipboardchange'?: EventHandlers 'on:devicemotion'?: EventHandlers 'on:deviceorientation'?: EventHandlers< DeviceOrientationEvent, Element > 'on:deviceorientationabsolute'?: EventHandlers< DeviceOrientationEvent, Element > 'on:DOMContentLoaded'?: EventHandlers 'on:gamepadconnected'?: EventHandlers 'on:gamepaddisconnected'?: EventHandlers 'on:hashchange'?: EventHandlers 'on:languagechange'?: EventHandlers 'on:message'?: EventHandlers 'on:messageerror'?: EventHandlers 'on:offline'?: EventHandlers 'on:online'?: EventHandlers /** @deprecated */ 'on:orientationchange'?: EventHandlers 'on:pagehide'?: EventHandlers 'on:pagereveal'?: EventHandlers 'on:pageshow'?: EventHandlers 'on:pageswap'?: EventHandlers 'on:pointerlockchange'?: EventHandlers 'on:pointerlockerror'?: EventHandlers 'on:popstate'?: EventHandlers 'on:readystatechange'?: EventHandlers 'on:rejectionhandled'?: EventHandlers< PromiseRejectionEvent, Element > 'on:storage'?: EventHandlers 'on:unhandledrejection'?: EventHandlers< PromiseRejectionEvent, Element > 'on:unload'?: EventHandlers 'on:visibilitychange'?: EventHandlers } // EventName = "click" | "mousedown" ... type EventName = | (keyof EventHandlersWindow extends `on:${infer T}` ? T : never) | (keyof EventHandlersElement extends `on:${infer T}` ? T : never) | (string & {}) type ExtractEventType = { [K in keyof T as K extends `on:${infer Name}` ? Name : never]: T[K] extends EventHandlers ? E : never } // EventType["click"] = MouseEvent type EventType = ExtractEventType> & ExtractEventType> // EventTypeFor<"click"> = MouseEvent // EventTypeFor<"my-custom"> = CustomEvent type EventTypeFor = K extends keyof EventType ? EventType[K] : CustomEvent /** ARIA */ interface AriaAttributes { /** * Identifies the currently active element when DOM focus is on a * composite widget, textbox, group, or application. */ 'aria-activedescendant'?: Attribute /** * 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'?: Attribute /** * 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'?: Attribute /** * 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'?: Attribute /** * 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'?: Attribute< 'none' | 'inline' | 'list' | 'both' > /** * 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'?: Attribute /** * Indicates the current "checked" state of checkboxes, radio * buttons, and other widgets. * * @see aria-pressed @see aria-selected. */ 'aria-checked'?: Attribute /** * Defines the total number of columns in a table, grid, or * treegrid. * * @see aria-colindex. */ 'aria-colcount'?: Attribute /** * 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'?: Attribute /** * Defines a human-readable text alternative of the numeric * aria-colindex. */ 'aria-colindextext'?: Attribute /** * 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'?: Attribute /** * Identifies the element (or elements) whose contents or presence * are controlled by the current element. * * @see aria-owns. */ 'aria-controls'?: Attribute /** * Indicates the element that represents the current item within a * container or set of related elements. */ 'aria-current'?: Attribute< | EnumeratedPseudoBoolean | 'page' | 'step' | 'location' | 'date' | 'time' > /** * Identifies the element (or elements) that describes the object. * * @see aria-labelledby */ 'aria-describedby'?: Attribute /** * Defines a string value that describes or annotates the current * element. * * @see aria-describedby */ 'aria-description'?: Attribute /** * Identifies the element that provides a detailed, extended * description for the object. * * @see aria-describedby. */ 'aria-details'?: Attribute /** * Indicates that the element is perceivable but disabled, so it * is not editable or otherwise operable. * * @see aria-hidden @see aria-readonly. */ 'aria-disabled'?: Attribute /** * Indicates what functions can be performed when a dragged object * is released on the drop target. * * @deprecated In ARIA 1.1 */ 'aria-dropeffect'?: Attribute< 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' > /** * Identifies the element that provides an error message for the * object. * * @see aria-invalid @see aria-describedby. */ 'aria-errormessage'?: Attribute /** * Indicates whether the element, or another grouping element it * controls, is currently expanded or collapsed. */ 'aria-expanded'?: Attribute /** * 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'?: Attribute /** * Indicates an element's "grabbed" state in a drag-and-drop * operation. * * @deprecated In ARIA 1.1 */ 'aria-grabbed'?: Attribute /** * Indicates the availability and type of interactive popup * element, such as menu or dialog, that can be triggered by an * element. */ 'aria-haspopup'?: Attribute< | EnumeratedPseudoBoolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' > /** * Indicates whether the element is exposed to an accessibility * API. * * @see aria-disabled. */ 'aria-hidden'?: Attribute /** * Indicates the entered value does not conform to the format * expected by the application. * * @see aria-errormessage. */ 'aria-invalid'?: Attribute< EnumeratedPseudoBoolean | 'grammar' | 'spelling' > /** * Indicates keyboard shortcuts that an author has implemented to * activate or give focus to an element. */ 'aria-keyshortcuts'?: Attribute /** * Defines a string value that labels the current element. * * @see aria-labelledby. */ 'aria-label'?: Attribute /** * Identifies the element (or elements) that labels the current * element. * * @see aria-describedby. */ 'aria-labelledby'?: Attribute /** * Defines the hierarchical level of an element within a * structure. */ 'aria-level'?: Attribute /** * 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'?: Attribute<'off' | 'assertive' | 'polite'> /** Indicates whether an element is modal when displayed. */ 'aria-modal'?: Attribute /** * Indicates whether a text box accepts multiple lines of input or * only a single line. */ 'aria-multiline'?: Attribute /** * Indicates that the user may select more than one item from the * current selectable descendants. */ 'aria-multiselectable'?: Attribute /** * Indicates whether the element's orientation is horizontal, * vertical, or unknown/ambiguous. */ 'aria-orientation'?: Attribute<'horizontal' | 'vertical'> /** * 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'?: Attribute /** * 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'?: Attribute /** * 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'?: Attribute /** * Indicates the current "pressed" state of toggle buttons. * * @see aria-checked @see aria-selected. */ 'aria-pressed'?: Attribute /** * Indicates that the element is not editable, but is otherwise * operable. * * @see aria-disabled. */ 'aria-readonly'?: Attribute /** * Indicates what notifications the user agent will trigger when * the accessibility tree within a live region is modified. * * @see aria-atomic. */ 'aria-relevant'?: Attribute< | 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' > /** * Indicates that user input is required on the element before a * form may be submitted. */ 'aria-required'?: Attribute /** * Defines a human-readable, author-localized description for the * role of an element. */ 'aria-roledescription'?: Attribute /** * Defines the total number of rows in a table, grid, or treegrid. * * @see aria-rowindex. */ 'aria-rowcount'?: Attribute /** * 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'?: Attribute /** Defines a human-readable text alternative of aria-rowindex. */ 'aria-rowindextext'?: Attribute /** * 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'?: Attribute /** * Indicates the current "selected" state of various widgets. * * @see aria-checked @see aria-pressed. */ 'aria-selected'?: Attribute /** * 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'?: Attribute /** * Indicates if items in a table or grid are sorted in ascending * or descending order. */ 'aria-sort'?: Attribute< 'none' | 'ascending' | 'descending' | 'other' > /** Defines the maximum allowed value for a range widget. */ 'aria-valuemax'?: Attribute /** Defines the minimum allowed value for a range widget. */ 'aria-valuemin'?: Attribute /** * Defines the current value for a range widget. * * @see aria-valuetext. */ 'aria-valuenow'?: Attribute /** * Defines the human readable text alternative of aria-valuenow * for a range widget. */ 'aria-valuetext'?: Attribute role?: Attribute< | 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'blockquote' | 'button' | 'caption' | 'cell' | 'checkbox' | 'code' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'deletion' | 'dialog' | 'directory' | 'document' | 'emphasis' | 'feed' | 'figure' | 'form' | 'generic' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'insertion' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'mark' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'meter' | 'navigation' | 'none' | 'note' | 'option' | 'paragraph' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'strong' | 'subscript' | 'suggestion' | 'superscript' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'time' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem' > } }