Skip to main content

Class: RasdFormElement

Defined in: packages/element/src/element.tsx:70

@rasd/element<rasd-form>, the renderer as a custom element.

The frozen surface is one function (docs/00 §11):

defineRasdElement(tag = 'rasd-form')

Everything else exported here is machinery a host may want to reach: the class itself (to subclass or to instanceof), the event names and their payload types (to type a listener), and setRendererCss — for a host that imports @rasd/react/styles.css through its own bundler instead of using the prebuilt IIFE, since a shadow root cannot see a document stylesheet.

Extends

  • HTMLElement

Constructors

Constructor

new RasdFormElement(): RasdFormElement;

Defined in: packages/element/src/element.tsx:104

Returns

RasdFormElement

Overrides

HTMLElement.constructor

Properties

accessKey

accessKey: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10036

MDN Reference

Inherited from

HTMLElement.accessKey

accessKeyLabel

readonly accessKeyLabel: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10038

MDN Reference

Inherited from

HTMLElement.accessKeyLabel

ariaAtomic

ariaAtomic: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2229

MDN Reference

Inherited from

HTMLElement.ariaAtomic

ariaAutoComplete

ariaAutoComplete: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2231

MDN Reference

Inherited from

HTMLElement.ariaAutoComplete

ariaBrailleLabel

ariaBrailleLabel: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2233

MDN Reference

Inherited from

HTMLElement.ariaBrailleLabel

ariaBrailleRoleDescription

ariaBrailleRoleDescription: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2235

MDN Reference

Inherited from

HTMLElement.ariaBrailleRoleDescription

ariaBusy

ariaBusy: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2237

MDN Reference

Inherited from

HTMLElement.ariaBusy

ariaChecked

ariaChecked: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2239

MDN Reference

Inherited from

HTMLElement.ariaChecked

ariaColCount

ariaColCount: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2241

MDN Reference

Inherited from

HTMLElement.ariaColCount

ariaColIndex

ariaColIndex: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2243

MDN Reference

Inherited from

HTMLElement.ariaColIndex

ariaColSpan

ariaColSpan: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2245

MDN Reference

Inherited from

HTMLElement.ariaColSpan

ariaCurrent

ariaCurrent: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2247

MDN Reference

Inherited from

HTMLElement.ariaCurrent

ariaDescription

ariaDescription: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2249

MDN Reference

Inherited from

HTMLElement.ariaDescription

ariaDisabled

ariaDisabled: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2251

MDN Reference

Inherited from

HTMLElement.ariaDisabled

ariaExpanded

ariaExpanded: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2253

MDN Reference

Inherited from

HTMLElement.ariaExpanded

ariaHasPopup

ariaHasPopup: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2255

MDN Reference

Inherited from

HTMLElement.ariaHasPopup

ariaHidden

ariaHidden: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2257

MDN Reference

Inherited from

HTMLElement.ariaHidden

ariaInvalid

ariaInvalid: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2258

Inherited from

HTMLElement.ariaInvalid

ariaKeyShortcuts

ariaKeyShortcuts: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2260

MDN Reference

Inherited from

HTMLElement.ariaKeyShortcuts

ariaLabel

ariaLabel: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2262

MDN Reference

Inherited from

HTMLElement.ariaLabel

ariaLevel

ariaLevel: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2264

MDN Reference

Inherited from

HTMLElement.ariaLevel

ariaLive

ariaLive: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2266

MDN Reference

Inherited from

HTMLElement.ariaLive

ariaModal

ariaModal: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2268

MDN Reference

Inherited from

HTMLElement.ariaModal

ariaMultiLine

ariaMultiLine: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2270

MDN Reference

Inherited from

HTMLElement.ariaMultiLine

ariaMultiSelectable

ariaMultiSelectable: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2272

MDN Reference

Inherited from

HTMLElement.ariaMultiSelectable

ariaOrientation

ariaOrientation: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2274

MDN Reference

Inherited from

HTMLElement.ariaOrientation

ariaPlaceholder

ariaPlaceholder: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2276

MDN Reference

Inherited from

HTMLElement.ariaPlaceholder

ariaPosInSet

ariaPosInSet: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2278

MDN Reference

Inherited from

HTMLElement.ariaPosInSet

ariaPressed

ariaPressed: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2280

MDN Reference

Inherited from

HTMLElement.ariaPressed

ariaReadOnly

ariaReadOnly: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2282

MDN Reference

Inherited from

HTMLElement.ariaReadOnly

ariaRequired

ariaRequired: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2284

MDN Reference

Inherited from

HTMLElement.ariaRequired

ariaRoleDescription

ariaRoleDescription: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2286

MDN Reference

Inherited from

HTMLElement.ariaRoleDescription

ariaRowCount

ariaRowCount: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2288

MDN Reference

Inherited from

HTMLElement.ariaRowCount

ariaRowIndex

ariaRowIndex: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2290

MDN Reference

Inherited from

HTMLElement.ariaRowIndex

ariaRowSpan

ariaRowSpan: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2292

MDN Reference

Inherited from

HTMLElement.ariaRowSpan

ariaSelected

ariaSelected: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2294

MDN Reference

Inherited from

HTMLElement.ariaSelected

ariaSetSize

ariaSetSize: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2296

MDN Reference

Inherited from

HTMLElement.ariaSetSize

ariaSort

ariaSort: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2298

MDN Reference

Inherited from

HTMLElement.ariaSort

ariaValueMax

ariaValueMax: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2300

MDN Reference

Inherited from

HTMLElement.ariaValueMax

ariaValueMin

ariaValueMin: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2302

MDN Reference

Inherited from

HTMLElement.ariaValueMin

ariaValueNow

ariaValueNow: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2304

MDN Reference

Inherited from

HTMLElement.ariaValueNow

ariaValueText

ariaValueText: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2306

MDN Reference

Inherited from

HTMLElement.ariaValueText

assignedSlot

readonly assignedSlot: HTMLSlotElement | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:21074

MDN Reference

Inherited from

HTMLElement.assignedSlot

ATTRIBUTE_NODE

readonly ATTRIBUTE_NODE: 2;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15963

Inherited from

HTMLElement.ATTRIBUTE_NODE

attributes

readonly attributes: NamedNodeMap;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7687

MDN Reference

Inherited from

HTMLElement.attributes

attributeStyleMap

readonly attributeStyleMap: StylePropertyMap;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7950

MDN Reference

Inherited from

HTMLElement.attributeStyleMap

autocapitalize

autocapitalize: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10040

MDN Reference

Inherited from

HTMLElement.autocapitalize

autofocus

autofocus: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11845

MDN Reference

Inherited from

HTMLElement.autofocus

baseURI

readonly baseURI: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15832

Returns node's node document's document base URL.

MDN Reference

Inherited from

HTMLElement.baseURI

CDATA_SECTION_NODE

readonly CDATA_SECTION_NODE: 4;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15967

node is a CDATASection node.

Inherited from

HTMLElement.CDATA_SECTION_NODE

childElementCount

readonly childElementCount: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16525

MDN Reference

Inherited from

HTMLElement.childElementCount

childNodes

readonly childNodes: NodeListOf<ChildNode>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15838

Returns the children.

MDN Reference

Inherited from

HTMLElement.childNodes

children

readonly children: HTMLCollection;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16531

Returns the child elements.

MDN Reference

Inherited from

HTMLElement.children

classList

readonly classList: DOMTokenList;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7693

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

MDN Reference

Inherited from

HTMLElement.classList

className

className: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7699

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLElement.className

clientHeight

readonly clientHeight: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7701

MDN Reference

Inherited from

HTMLElement.clientHeight

clientLeft

readonly clientLeft: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7703

MDN Reference

Inherited from

HTMLElement.clientLeft

clientTop

readonly clientTop: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7705

MDN Reference

Inherited from

HTMLElement.clientTop

clientWidth

readonly clientWidth: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7707

MDN Reference

Inherited from

HTMLElement.clientWidth

COMMENT_NODE

readonly COMMENT_NODE: 8;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15973

node is a Comment node.

Inherited from

HTMLElement.COMMENT_NODE

contentEditable

contentEditable: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7957

MDN Reference

Inherited from

HTMLElement.contentEditable

dataset

readonly dataset: DOMStringMap;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11847

MDN Reference

Inherited from

HTMLElement.dataset

dir

dir: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10042

MDN Reference

Inherited from

HTMLElement.dir

DOCUMENT_FRAGMENT_NODE

readonly DOCUMENT_FRAGMENT_NODE: 11;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15979

node is a DocumentFragment node.

Inherited from

HTMLElement.DOCUMENT_FRAGMENT_NODE

DOCUMENT_NODE

readonly DOCUMENT_NODE: 9;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15975

node is a document.

Inherited from

HTMLElement.DOCUMENT_NODE

DOCUMENT_POSITION_CONTAINED_BY

readonly DOCUMENT_POSITION_CONTAINED_BY: 16;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15990

Set when other is a descendant of node.

Inherited from

HTMLElement.DOCUMENT_POSITION_CONTAINED_BY

DOCUMENT_POSITION_CONTAINS

readonly DOCUMENT_POSITION_CONTAINS: 8;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15988

Set when other is an ancestor of node.

Inherited from

HTMLElement.DOCUMENT_POSITION_CONTAINS

DOCUMENT_POSITION_DISCONNECTED

readonly DOCUMENT_POSITION_DISCONNECTED: 1;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15982

Set when node and other are not in the same tree.

Inherited from

HTMLElement.DOCUMENT_POSITION_DISCONNECTED

DOCUMENT_POSITION_FOLLOWING

readonly DOCUMENT_POSITION_FOLLOWING: 4;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15986

Set when other is following node.

Inherited from

HTMLElement.DOCUMENT_POSITION_FOLLOWING

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15991

Inherited from

HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

DOCUMENT_POSITION_PRECEDING

readonly DOCUMENT_POSITION_PRECEDING: 2;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15984

Set when other is preceding node.

Inherited from

HTMLElement.DOCUMENT_POSITION_PRECEDING

DOCUMENT_TYPE_NODE

readonly DOCUMENT_TYPE_NODE: 10;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15977

node is a doctype.

Inherited from

HTMLElement.DOCUMENT_TYPE_NODE

draggable

draggable: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10044

MDN Reference

Inherited from

HTMLElement.draggable

ELEMENT_NODE

readonly ELEMENT_NODE: 1;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15962

node is an element.

Inherited from

HTMLElement.ELEMENT_NODE

enterKeyHint

enterKeyHint: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7959

MDN Reference

Inherited from

HTMLElement.enterKeyHint

ENTITY_NODE

readonly ENTITY_NODE: 6;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15969

Inherited from

HTMLElement.ENTITY_NODE

ENTITY_REFERENCE_NODE

readonly ENTITY_REFERENCE_NODE: 5;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15968

Inherited from

HTMLElement.ENTITY_REFERENCE_NODE

firstChild

readonly firstChild: ChildNode | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15844

Returns the first child.

MDN Reference

Inherited from

HTMLElement.firstChild

firstElementChild

readonly firstElementChild: Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16537

Returns the first child that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLElement.firstElementChild

hidden

hidden: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10046

MDN Reference

Inherited from

HTMLElement.hidden

id

id: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7713

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLElement.id

inert

inert: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10048

MDN Reference

Inherited from

HTMLElement.inert

innerHTML

innerHTML: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7715

MDN Reference

Inherited from

HTMLElement.innerHTML

innerText

innerText: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10050

MDN Reference

Inherited from

HTMLElement.innerText

inputMode

inputMode: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7961

MDN Reference

Inherited from

HTMLElement.inputMode

isConnected

readonly isConnected: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15850

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

HTMLElement.isConnected

isContentEditable

readonly isContentEditable: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7963

MDN Reference

Inherited from

HTMLElement.isContentEditable

lang

lang: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10052

MDN Reference

Inherited from

HTMLElement.lang

lastChild

readonly lastChild: ChildNode | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15856

Returns the last child.

MDN Reference

Inherited from

HTMLElement.lastChild

lastElementChild

readonly lastElementChild: Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16543

Returns the last child that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLElement.lastElementChild

localName

readonly localName: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7721

Returns the local name.

MDN Reference

Inherited from

HTMLElement.localName

namespaceURI

readonly namespaceURI: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7727

Returns the namespace.

MDN Reference

Inherited from

HTMLElement.namespaceURI

nextElementSibling

readonly nextElementSibling: Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16112

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLElement.nextElementSibling

nextSibling

readonly nextSibling: ChildNode | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15862

Returns the next sibling.

MDN Reference

Inherited from

HTMLElement.nextSibling

nodeName

readonly nodeName: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15868

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

HTMLElement.nodeName

nodeType

readonly nodeType: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15874

Returns the type of node.

MDN Reference

Inherited from

HTMLElement.nodeType

nodeValue

nodeValue: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15876

MDN Reference

Inherited from

HTMLElement.nodeValue

nonce?

optional nonce?: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11849

MDN Reference

Inherited from

HTMLElement.nonce

NOTATION_NODE

readonly NOTATION_NODE: 12;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15980

Inherited from

HTMLElement.NOTATION_NODE

offsetHeight

readonly offsetHeight: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10054

MDN Reference

Inherited from

HTMLElement.offsetHeight

offsetLeft

readonly offsetLeft: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10056

MDN Reference

Inherited from

HTMLElement.offsetLeft

offsetParent

readonly offsetParent: Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10058

MDN Reference

Inherited from

HTMLElement.offsetParent

offsetTop

readonly offsetTop: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10060

MDN Reference

Inherited from

HTMLElement.offsetTop

offsetWidth

readonly offsetWidth: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10062

MDN Reference

Inherited from

HTMLElement.offsetWidth

onabort

onabort: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9032

Fires when the user aborts the download.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onabort

onanimationcancel

onanimationcancel: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9034

MDN Reference

Inherited from

HTMLElement.onanimationcancel

onanimationend

onanimationend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9036

MDN Reference

Inherited from

HTMLElement.onanimationend

onanimationiteration

onanimationiteration: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9038

MDN Reference

Inherited from

HTMLElement.onanimationiteration

onanimationstart

onanimationstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9040

MDN Reference

Inherited from

HTMLElement.onanimationstart

onauxclick

onauxclick: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9042

MDN Reference

Inherited from

HTMLElement.onauxclick

onbeforeinput

onbeforeinput: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9044

MDN Reference

Inherited from

HTMLElement.onbeforeinput

onbeforetoggle

onbeforetoggle: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9046

MDN Reference

Inherited from

HTMLElement.onbeforetoggle

onblur

onblur: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9053

Fires when the object loses the input focus.

Param

ev

The focus event.

MDN Reference

Inherited from

HTMLElement.onblur

oncancel

oncancel: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9055

MDN Reference

Inherited from

HTMLElement.oncancel

oncanplay

oncanplay: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9062

Occurs when playback is possible, but would require further buffering.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.oncanplay

oncanplaythrough

oncanplaythrough: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9064

MDN Reference

Inherited from

HTMLElement.oncanplaythrough

onchange

onchange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9071

Fires when the contents of the object or selection have changed.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onchange

onclick

onclick: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9078

Fires when the user clicks the left mouse button on the object

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onclick

onclose

onclose: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9080

MDN Reference

Inherited from

HTMLElement.onclose

oncontextlost

oncontextlost: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9082

MDN Reference

Inherited from

HTMLElement.oncontextlost

oncontextmenu

oncontextmenu: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9089

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.oncontextmenu

oncontextrestored

oncontextrestored: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9091

MDN Reference

Inherited from

HTMLElement.oncontextrestored

oncopy

oncopy: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9093

MDN Reference

Inherited from

HTMLElement.oncopy

oncuechange

oncuechange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9095

MDN Reference

Inherited from

HTMLElement.oncuechange

oncut

oncut: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9097

MDN Reference

Inherited from

HTMLElement.oncut

ondblclick

ondblclick: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9104

Fires when the user double-clicks the object.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.ondblclick

ondrag

ondrag: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9111

Fires on the source object continuously during a drag operation.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ondrag

ondragend

ondragend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9118

Fires on the source object when the user releases the mouse at the close of a drag operation.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ondragend

ondragenter

ondragenter: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9125

Fires on the target element when the user drags the object to a valid drop target.

Param

ev

The drag event.

MDN Reference

Inherited from

HTMLElement.ondragenter

ondragleave

ondragleave: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9132

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Param

ev

The drag event.

MDN Reference

Inherited from

HTMLElement.ondragleave

ondragover

ondragover: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9139

Fires on the target element continuously while the user drags the object over a valid drop target.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ondragover

ondragstart

ondragstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9146

Fires on the source object when the user starts to drag a text selection or selected object.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ondragstart

ondrop

ondrop: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9148

MDN Reference

Inherited from

HTMLElement.ondrop

ondurationchange

ondurationchange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9155

Occurs when the duration attribute is updated.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ondurationchange

onemptied

onemptied: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9162

Occurs when the media element is reset to its initial state.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onemptied

onended

onended: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9169

Occurs when the end of playback is reached.

Param

ev

The event

MDN Reference

Inherited from

HTMLElement.onended

onerror

onerror: OnErrorEventHandler;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9176

Fires when an error occurs during object loading.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onerror

onfocus

onfocus: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9183

Fires when the object receives focus.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onfocus

onformdata

onformdata: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9185

MDN Reference

Inherited from

HTMLElement.onformdata

onfullscreenchange

onfullscreenchange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7729

MDN Reference

Inherited from

HTMLElement.onfullscreenchange

onfullscreenerror

onfullscreenerror: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7731

MDN Reference

Inherited from

HTMLElement.onfullscreenerror

ongotpointercapture

ongotpointercapture: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9187

MDN Reference

Inherited from

HTMLElement.ongotpointercapture

oninput

oninput: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9189

MDN Reference

Inherited from

HTMLElement.oninput

oninvalid

oninvalid: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9191

MDN Reference

Inherited from

HTMLElement.oninvalid

onkeydown

onkeydown: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9198

Fires when the user presses a key.

Param

ev

The keyboard event

MDN Reference

Inherited from

HTMLElement.onkeydown

onkeypress

onkeypress: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9206

Fires when the user presses an alphanumeric key.

Param

ev

The event.

Deprecated

MDN Reference

Inherited from

HTMLElement.onkeypress

onkeyup

onkeyup: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9213

Fires when the user releases a key.

Param

ev

The keyboard event

MDN Reference

Inherited from

HTMLElement.onkeyup

onload

onload: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9220

Fires immediately after the browser loads the object.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onload

onloadeddata

onloadeddata: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9227

Occurs when media data is loaded at the current playback position.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onloadeddata

onloadedmetadata

onloadedmetadata: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9234

Occurs when the duration and dimensions of the media have been determined.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onloadedmetadata

onloadstart

onloadstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9241

Occurs when Internet Explorer begins looking for media data.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onloadstart

onlostpointercapture

onlostpointercapture: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9243

MDN Reference

Inherited from

HTMLElement.onlostpointercapture

onmousedown

onmousedown: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9250

Fires when the user clicks the object with either mouse button.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onmousedown

onmouseenter

onmouseenter: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9252

MDN Reference

Inherited from

HTMLElement.onmouseenter

onmouseleave

onmouseleave: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9254

MDN Reference

Inherited from

HTMLElement.onmouseleave

onmousemove

onmousemove: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9261

Fires when the user moves the mouse over the object.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onmousemove

onmouseout

onmouseout: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9268

Fires when the user moves the mouse pointer outside the boundaries of the object.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onmouseout

onmouseover

onmouseover: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9275

Fires when the user moves the mouse pointer into the object.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onmouseover

onmouseup

onmouseup: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9282

Fires when the user releases a mouse button while the mouse is over the object.

Param

ev

The mouse event.

MDN Reference

Inherited from

HTMLElement.onmouseup

onpaste

onpaste: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9284

MDN Reference

Inherited from

HTMLElement.onpaste

onpause

onpause: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9291

Occurs when playback is paused.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onpause

onplay

onplay: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9298

Occurs when the play method is requested.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onplay

onplaying

onplaying: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9305

Occurs when the audio or video has started playing.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onplaying

onpointercancel

onpointercancel: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9307

MDN Reference

Inherited from

HTMLElement.onpointercancel

onpointerdown

onpointerdown: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9309

MDN Reference

Inherited from

HTMLElement.onpointerdown

onpointerenter

onpointerenter: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9311

MDN Reference

Inherited from

HTMLElement.onpointerenter

onpointerleave

onpointerleave: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9313

MDN Reference

Inherited from

HTMLElement.onpointerleave

onpointermove

onpointermove: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9315

MDN Reference

Inherited from

HTMLElement.onpointermove

onpointerout

onpointerout: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9317

MDN Reference

Inherited from

HTMLElement.onpointerout

onpointerover

onpointerover: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9319

MDN Reference

Inherited from

HTMLElement.onpointerover

onpointerup

onpointerup: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9321

MDN Reference

Inherited from

HTMLElement.onpointerup

onprogress

onprogress: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9328

Occurs to indicate progress while downloading media data.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onprogress

onratechange

onratechange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9335

Occurs when the playback rate is increased or decreased.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onratechange

onreset

onreset: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9342

Fires when the user resets a form.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onreset

onresize

onresize: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9344

MDN Reference

Inherited from

HTMLElement.onresize

onscroll

onscroll: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9351

Fires when the user repositions the scroll box in the scroll bar on the object.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onscroll

onscrollend

onscrollend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9353

MDN Reference

Inherited from

HTMLElement.onscrollend

onsecuritypolicyviolation

onsecuritypolicyviolation: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9355

MDN Reference

Inherited from

HTMLElement.onsecuritypolicyviolation

onseeked

onseeked: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9362

Occurs when the seek operation ends.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onseeked

onseeking

onseeking: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9369

Occurs when the current playback position is moved.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onseeking

onselect

onselect: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9376

Fires when the current selection changes.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onselect

onselectionchange

onselectionchange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9378

MDN Reference

Inherited from

HTMLElement.onselectionchange

onselectstart

onselectstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9380

MDN Reference

Inherited from

HTMLElement.onselectstart

onslotchange

onslotchange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9382

MDN Reference

Inherited from

HTMLElement.onslotchange

onstalled

onstalled: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9389

Occurs when the download has stopped.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onstalled

onsubmit

onsubmit: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9391

MDN Reference

Inherited from

HTMLElement.onsubmit

onsuspend

onsuspend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9398

Occurs if the load operation has been intentionally halted.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onsuspend

ontimeupdate

ontimeupdate: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9405

Occurs to indicate the current playback position.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.ontimeupdate

ontoggle

ontoggle: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9407

MDN Reference

Inherited from

HTMLElement.ontoggle

ontouchcancel?

optional ontouchcancel?: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9409

MDN Reference

Inherited from

HTMLElement.ontouchcancel

ontouchend?

optional ontouchend?: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9411

MDN Reference

Inherited from

HTMLElement.ontouchend

ontouchmove?

optional ontouchmove?: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9413

MDN Reference

Inherited from

HTMLElement.ontouchmove

ontouchstart?

optional ontouchstart?: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9415

MDN Reference

Inherited from

HTMLElement.ontouchstart

ontransitioncancel

ontransitioncancel: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9417

MDN Reference

Inherited from

HTMLElement.ontransitioncancel

ontransitionend

ontransitionend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9419

MDN Reference

Inherited from

HTMLElement.ontransitionend

ontransitionrun

ontransitionrun: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9421

MDN Reference

Inherited from

HTMLElement.ontransitionrun

ontransitionstart

ontransitionstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9423

MDN Reference

Inherited from

HTMLElement.ontransitionstart

onvolumechange

onvolumechange: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9430

Occurs when the volume is changed, or playback is muted or unmuted.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onvolumechange

onwaiting

onwaiting: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9437

Occurs when playback stops because the next frame of a video resource is not available.

Param

ev

The event.

MDN Reference

Inherited from

HTMLElement.onwaiting

onwebkitanimationend

onwebkitanimationend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9443

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

HTMLElement.onwebkitanimationend

onwebkitanimationiteration

onwebkitanimationiteration: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9449

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

HTMLElement.onwebkitanimationiteration

onwebkitanimationstart

onwebkitanimationstart: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9455

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

HTMLElement.onwebkitanimationstart

onwebkittransitionend

onwebkittransitionend: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9461

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

HTMLElement.onwebkittransitionend

onwheel

onwheel: ((this, ev) => any) | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:9463

MDN Reference

Inherited from

HTMLElement.onwheel

outerHTML

outerHTML: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7733

MDN Reference

Inherited from

HTMLElement.outerHTML

outerText

outerText: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10064

MDN Reference

Inherited from

HTMLElement.outerText

ownerDocument

readonly ownerDocument: Document;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7734

Returns the node document. Returns null for documents.

MDN Reference

Inherited from

HTMLElement.ownerDocument

parentElement

readonly parentElement: HTMLElement | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15888

Returns the parent element.

MDN Reference

Inherited from

HTMLElement.parentElement

parentNode

readonly parentNode: ParentNode | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15894

Returns the parent.

MDN Reference

Inherited from

HTMLElement.parentNode

part

readonly part: DOMTokenList;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7736

MDN Reference

Inherited from

HTMLElement.part

popover

popover: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10066

MDN Reference

Inherited from

HTMLElement.popover

prefix

readonly prefix: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7742

Returns the namespace prefix.

MDN Reference

Inherited from

HTMLElement.prefix

previousElementSibling

readonly previousElementSibling: Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16118

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

Inherited from

HTMLElement.previousElementSibling

previousSibling

readonly previousSibling: ChildNode | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15900

Returns the previous sibling.

MDN Reference

Inherited from

HTMLElement.previousSibling

PROCESSING_INSTRUCTION_NODE

readonly PROCESSING_INSTRUCTION_NODE: 7;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15971

node is a ProcessingInstruction node.

Inherited from

HTMLElement.PROCESSING_INSTRUCTION_NODE

role

role: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2307

Inherited from

HTMLElement.role

scrollHeight

readonly scrollHeight: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7744

MDN Reference

Inherited from

HTMLElement.scrollHeight

scrollLeft

scrollLeft: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7746

MDN Reference

Inherited from

HTMLElement.scrollLeft

scrollTop

scrollTop: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7748

MDN Reference

Inherited from

HTMLElement.scrollTop

scrollWidth

readonly scrollWidth: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7750

MDN Reference

Inherited from

HTMLElement.scrollWidth

shadowRoot

readonly shadowRoot: ShadowRoot | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7756

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

MDN Reference

Inherited from

HTMLElement.shadowRoot

slot

slot: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7762

Returns the value of element's slot content attribute. Can be set to change it.

MDN Reference

Inherited from

HTMLElement.slot

spellcheck

spellcheck: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10068

MDN Reference

Inherited from

HTMLElement.spellcheck

style

readonly style: CSSStyleDeclaration;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7952

MDN Reference

Inherited from

HTMLElement.style

tabIndex

tabIndex: number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11851

MDN Reference

Inherited from

HTMLElement.tabIndex

tagName

readonly tagName: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7768

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from

HTMLElement.tagName

TEXT_NODE

readonly TEXT_NODE: 3;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15965

node is a Text node.

Inherited from

HTMLElement.TEXT_NODE

textContent

textContent: string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15902

MDN Reference

Inherited from

HTMLElement.textContent

title

title: string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10070

MDN Reference

Inherited from

HTMLElement.title

translate

translate: boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10072

MDN Reference

Inherited from

HTMLElement.translate

Accessors

definition

Get Signature

get definition(): FormDefinition | null;

Defined in: packages/element/src/element.tsx:154

Returns

FormDefinition | null

Set Signature

set definition(value): void;

Defined in: packages/element/src/element.tsx:157

Parameters
ParameterType
valueFormDefinition | null
Returns

void


initialData

Get Signature

get initialData(): Record<string, unknown> | undefined;

Defined in: packages/element/src/element.tsx:173

Returns

Record<string, unknown> | undefined

Set Signature

set initialData(value): void;

Defined in: packages/element/src/element.tsx:176

Parameters
ParameterType
valueRecord<string, unknown> | undefined
Returns

void


license

Get Signature

get license(): LicenseHandle | undefined;

Defined in: packages/element/src/element.tsx:205

Returns

LicenseHandle | undefined

Set Signature

set license(value): void;

Defined in: packages/element/src/element.tsx:208

Parameters
ParameterType
valueLicenseHandle | undefined
Returns

void


registry

Get Signature

get registry(): Registry | undefined;

Defined in: packages/element/src/element.tsx:181

Returns

Registry | undefined

Set Signature

set registry(value): void;

Defined in: packages/element/src/element.tsx:184

Parameters
ParameterType
valueRegistry | undefined
Returns

void


storage

Get Signature

get storage():
| RasdStorage
| (() => RasdStorage)
| undefined;

Defined in: packages/element/src/element.tsx:189

Returns

| RasdStorage | (() => RasdStorage) | undefined

Set Signature

set storage(value): void;

Defined in: packages/element/src/element.tsx:192

Parameters
ParameterType
value| RasdStorage | (() => RasdStorage) | undefined
Returns

void


sync

Get Signature

get sync():
| SyncEngineHandle
| undefined;

Defined in: packages/element/src/element.tsx:197

Returns

| SyncEngineHandle | undefined

Set Signature

set sync(value): void;

Defined in: packages/element/src/element.tsx:200

Parameters
ParameterType
value| SyncEngineHandle | undefined
Returns

void


theme

Get Signature

get theme(): string | RasdTheme | undefined;

Defined in: packages/element/src/element.tsx:165

Returns

string | RasdTheme | undefined

Set Signature

set theme(value): void;

Defined in: packages/element/src/element.tsx:168

Parameters
ParameterType
valuestring | RasdTheme | undefined
Returns

void


observedAttributes

Get Signature

get static observedAttributes(): readonly string[];

Defined in: packages/element/src/element.tsx:71

Returns

readonly string[]

Methods

addEventListener()

Call Signature

addEventListener<K>(
type,
listener,
options?
): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10083

Type Parameters
Type Parameter
K extends keyof HTMLElementEventMap
Parameters
ParameterType
typeK
listener(this, ev) => any
options?boolean | AddEventListenerOptions
Returns

void

Inherited from
HTMLElement.addEventListener

Call Signature

addEventListener(
type,
listener,
options?
): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10084

Parameters
ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions
Returns

void

Inherited from
HTMLElement.addEventListener

after()

after(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:5712

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.after

animate()

animate(keyframes, options?): Animation;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2459

MDN Reference

Parameters

ParameterType
keyframesKeyframe[] | PropertyIndexedKeyframes | null
options?number | KeyframeAnimationOptions

Returns

Animation

Inherited from

HTMLElement.animate

append()

append(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16551

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.append

appendChild()

appendChild<T>(node): T;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15904

MDN Reference

Type Parameters

Type Parameter
T extends Node

Parameters

ParameterType
nodeT

Returns

T

Inherited from

HTMLElement.appendChild

attachInternals()

attachInternals(): ElementInternals;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10074

MDN Reference

Returns

ElementInternals

Inherited from

HTMLElement.attachInternals

attachShadow()

attachShadow(init): ShadowRoot;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7774

Creates a shadow root for element and returns it.

MDN Reference

Parameters

ParameterType
initShadowRootInit

Returns

ShadowRoot

Inherited from

HTMLElement.attachShadow

attributeChangedCallback()

attributeChangedCallback(
name,
previous,
next
): void;

Defined in: packages/element/src/element.tsx:143

Parameters

ParameterType
namestring
previousstring | null
nextstring | null

Returns

void


before()

before(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:5720

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.before

blur()

blur(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11853

MDN Reference

Returns

void

Inherited from

HTMLElement.blur

checkVisibility()

checkVisibility(options?): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7776

MDN Reference

Parameters

ParameterType
options?CheckVisibilityOptions

Returns

boolean

Inherited from

HTMLElement.checkVisibility

click()

click(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10076

MDN Reference

Returns

void

Inherited from

HTMLElement.click

cloneNode()

cloneNode(deep?): Node;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15910

Returns a copy of node. If deep is true, the copy also includes the node's descendants.

MDN Reference

Parameters

ParameterType
deep?boolean

Returns

Node

Inherited from

HTMLElement.cloneNode

closest()

Call Signature

closest<K>(selector): HTMLElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7782

Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

MDN Reference

Type Parameters
Type Parameter
K extends keyof HTMLElementTagNameMap
Parameters
ParameterType
selectorK
Returns

HTMLElementTagNameMap[K] | null

Inherited from
HTMLElement.closest

Call Signature

closest<K>(selector): SVGElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7783

Type Parameters
Type Parameter
K extends keyof SVGElementTagNameMap
Parameters
ParameterType
selectorK
Returns

SVGElementTagNameMap[K] | null

Inherited from
HTMLElement.closest

Call Signature

closest<K>(selector): MathMLElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7784

Type Parameters
Type Parameter
K extends keyof MathMLElementTagNameMap
Parameters
ParameterType
selectorK
Returns

MathMLElementTagNameMap[K] | null

Inherited from
HTMLElement.closest

Call Signature

closest<E>(selectors): E | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7785

Type Parameters
Type ParameterDefault type
E extends ElementElement
Parameters
ParameterType
selectorsstring
Returns

E | null

Inherited from
HTMLElement.closest

compareDocumentPosition()

compareDocumentPosition(other): number;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15916

Returns a bitmask indicating the position of other relative to node.

MDN Reference

Parameters

ParameterType
otherNode

Returns

number

Inherited from

HTMLElement.compareDocumentPosition

computedStyleMap()

computedStyleMap(): StylePropertyMapReadOnly;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7787

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

HTMLElement.computedStyleMap

connectedCallback()

connectedCallback(): void;

Defined in: packages/element/src/element.tsx:114

Returns

void


contains()

contains(other): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15922

Returns true if other is an inclusive descendant of node, and false otherwise.

MDN Reference

Parameters

ParameterType
otherNode | null

Returns

boolean

Inherited from

HTMLElement.contains

disconnectedCallback()

disconnectedCallback(): void;

Defined in: packages/element/src/element.tsx:131

Returns

void


dispatchEvent()

dispatchEvent(event): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:8309

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

ParameterType
eventEvent

Returns

boolean

Inherited from

HTMLElement.dispatchEvent

finalize()

finalize(): Promise<Result<Submission, ValidationResult>>;

Defined in: packages/element/src/element.tsx:235

Returns

Promise<Result<Submission, ValidationResult>>


focus()

focus(options?): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:11855

MDN Reference

Parameters

ParameterType
options?FocusOptions

Returns

void

Inherited from

HTMLElement.focus

getAnimations()

getAnimations(options?): Animation[];

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:2461

MDN Reference

Parameters

ParameterType
options?GetAnimationsOptions

Returns

Animation[]

Inherited from

HTMLElement.getAnimations

getAttribute()

getAttribute(qualifiedName): string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7793

Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

ParameterType
qualifiedNamestring

Returns

string | null

Inherited from

HTMLElement.getAttribute

getAttributeNames()

getAttributeNames(): string[];

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7805

Returns the qualified names of all element's attributes. Can contain duplicates.

MDN Reference

Returns

string[]

Inherited from

HTMLElement.getAttributeNames

getAttributeNode()

getAttributeNode(qualifiedName): Attr | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7807

MDN Reference

Parameters

ParameterType
qualifiedNamestring

Returns

Attr | null

Inherited from

HTMLElement.getAttributeNode

getAttributeNodeNS()

getAttributeNodeNS(namespace, localName): Attr | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7809

MDN Reference

Parameters

ParameterType
namespacestring | null
localNamestring

Returns

Attr | null

Inherited from

HTMLElement.getAttributeNodeNS

getAttributeNS()

getAttributeNS(namespace, localName): string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7799

Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

ParameterType
namespacestring | null
localNamestring

Returns

string | null

Inherited from

HTMLElement.getAttributeNS

getBoundingClientRect()

getBoundingClientRect(): DOMRect;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7811

MDN Reference

Returns

DOMRect

Inherited from

HTMLElement.getBoundingClientRect

getClientRects()

getClientRects(): DOMRectList;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7813

MDN Reference

Returns

DOMRectList

Inherited from

HTMLElement.getClientRects

getData()

getData(): Readonly<Record<string, unknown>>;

Defined in: packages/element/src/element.tsx:239

Returns

Readonly<Record<string, unknown>>


getElementsByClassName()

getElementsByClassName(classNames): HTMLCollectionOf<Element>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7819

Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

MDN Reference

Parameters

ParameterType
classNamesstring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLElement.getElementsByClassName

getElementsByTagName()

Call Signature

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7821

MDN Reference

Type Parameters
Type Parameter
K extends keyof HTMLElementTagNameMap
Parameters
ParameterType
qualifiedNameK
Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from
HTMLElement.getElementsByTagName

Call Signature

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7822

Type Parameters
Type Parameter
K extends keyof SVGElementTagNameMap
Parameters
ParameterType
qualifiedNameK
Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from
HTMLElement.getElementsByTagName

Call Signature

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7823

Type Parameters
Type Parameter
K extends keyof MathMLElementTagNameMap
Parameters
ParameterType
qualifiedNameK
Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from
HTMLElement.getElementsByTagName

Call Signature

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7825

Type Parameters
Type Parameter
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
ParameterType
qualifiedNameK
Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from
HTMLElement.getElementsByTagName

Call Signature

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7826

Parameters
ParameterType
qualifiedNamestring
Returns

HTMLCollectionOf<Element>

Inherited from
HTMLElement.getElementsByTagName

getElementsByTagNameNS()

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7828

MDN Reference

Parameters
ParameterType
namespaceURI"http://www.w3.org/1999/xhtml"
localNamestring
Returns

HTMLCollectionOf<HTMLElement>

Inherited from
HTMLElement.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7829

Parameters
ParameterType
namespaceURI"http://www.w3.org/2000/svg"
localNamestring
Returns

HTMLCollectionOf<SVGElement>

Inherited from
HTMLElement.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7830

Parameters
ParameterType
namespaceURI"http://www.w3.org/1998/Math/MathML"
localNamestring
Returns

HTMLCollectionOf<MathMLElement>

Inherited from
HTMLElement.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7831

Parameters
ParameterType
namespacestring | null
localNamestring
Returns

HTMLCollectionOf<Element>

Inherited from
HTMLElement.getElementsByTagNameNS

getHTML()

getHTML(options?): string;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7833

MDN Reference

Parameters

ParameterType
options?GetHTMLOptions

Returns

string

Inherited from

HTMLElement.getHTML

getRootNode()

getRootNode(options?): Node;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15928

Returns node's root.

MDN Reference

Parameters

ParameterType
options?GetRootNodeOptions

Returns

Node

Inherited from

HTMLElement.getRootNode

getSubmission()

getSubmission(): Submission;

Defined in: packages/element/src/element.tsx:247

Returns

Submission


hasAttribute()

hasAttribute(qualifiedName): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7839

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

MDN Reference

Parameters

ParameterType
qualifiedNamestring

Returns

boolean

Inherited from

HTMLElement.hasAttribute

hasAttributeNS()

hasAttributeNS(namespace, localName): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7845

Returns true if element has an attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

ParameterType
namespacestring | null
localNamestring

Returns

boolean

Inherited from

HTMLElement.hasAttributeNS

hasAttributes()

hasAttributes(): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7851

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns

boolean

Inherited from

HTMLElement.hasAttributes

hasChildNodes()

hasChildNodes(): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15934

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

HTMLElement.hasChildNodes

hasPointerCapture()

hasPointerCapture(pointerId): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7853

MDN Reference

Parameters

ParameterType
pointerIdnumber

Returns

boolean

Inherited from

HTMLElement.hasPointerCapture

hidePopover()

hidePopover(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10078

MDN Reference

Returns

void

Inherited from

HTMLElement.hidePopover

insertAdjacentElement()

insertAdjacentElement(where, element): Element | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7855

MDN Reference

Parameters

ParameterType
whereInsertPosition
elementElement

Returns

Element | null

Inherited from

HTMLElement.insertAdjacentElement

insertAdjacentHTML()

insertAdjacentHTML(position, string): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7857

MDN Reference

Parameters

ParameterType
positionInsertPosition
stringstring

Returns

void

Inherited from

HTMLElement.insertAdjacentHTML

insertAdjacentText()

insertAdjacentText(where, data): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7859

MDN Reference

Parameters

ParameterType
whereInsertPosition
datastring

Returns

void

Inherited from

HTMLElement.insertAdjacentText

insertBefore()

insertBefore<T>(node, child): T;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15936

MDN Reference

Type Parameters

Type Parameter
T extends Node

Parameters

ParameterType
nodeT
childNode | null

Returns

T

Inherited from

HTMLElement.insertBefore

isDefaultNamespace()

isDefaultNamespace(namespace): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15938

MDN Reference

Parameters

ParameterType
namespacestring | null

Returns

boolean

Inherited from

HTMLElement.isDefaultNamespace

isEqualNode()

isEqualNode(otherNode): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15944

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

ParameterType
otherNodeNode | null

Returns

boolean

Inherited from

HTMLElement.isEqualNode

isSameNode()

isSameNode(otherNode): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15946

MDN Reference

Parameters

ParameterType
otherNodeNode | null

Returns

boolean

Inherited from

HTMLElement.isSameNode

lookupNamespaceURI()

lookupNamespaceURI(prefix): string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15948

MDN Reference

Parameters

ParameterType
prefixstring | null

Returns

string | null

Inherited from

HTMLElement.lookupNamespaceURI

lookupPrefix()

lookupPrefix(namespace): string | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15950

MDN Reference

Parameters

ParameterType
namespacestring | null

Returns

string | null

Inherited from

HTMLElement.lookupPrefix

matches()

matches(selectors): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7865

Returns true if matching selectors against element's root yields element, and false otherwise.

MDN Reference

Parameters

ParameterType
selectorsstring

Returns

boolean

Inherited from

HTMLElement.matches

normalize()

normalize(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15956

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

MDN Reference

Returns

void

Inherited from

HTMLElement.normalize

prepend()

prepend(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16559

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.prepend

querySelector()

Call Signature

querySelector<K>(selectors): HTMLElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16565

Returns the first element that is a descendant of node that matches selectors.

MDN Reference

Type Parameters
Type Parameter
K extends keyof HTMLElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

HTMLElementTagNameMap[K] | null

Inherited from
HTMLElement.querySelector

Call Signature

querySelector<K>(selectors): SVGElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16566

Type Parameters
Type Parameter
K extends keyof SVGElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

SVGElementTagNameMap[K] | null

Inherited from
HTMLElement.querySelector

Call Signature

querySelector<K>(selectors): MathMLElementTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16567

Type Parameters
Type Parameter
K extends keyof MathMLElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

MathMLElementTagNameMap[K] | null

Inherited from
HTMLElement.querySelector

Call Signature

querySelector<K>(selectors): HTMLElementDeprecatedTagNameMap[K] | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16569

Type Parameters
Type Parameter
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
ParameterType
selectorsK
Returns

HTMLElementDeprecatedTagNameMap[K] | null

Deprecated
Inherited from
HTMLElement.querySelector

Call Signature

querySelector<E>(selectors): E | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16570

Type Parameters
Type ParameterDefault type
E extends ElementElement
Parameters
ParameterType
selectorsstring
Returns

E | null

Inherited from
HTMLElement.querySelector

querySelectorAll()

Call Signature

querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16576

Returns all element descendants of node that match selectors.

MDN Reference

Type Parameters
Type Parameter
K extends keyof HTMLElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from
HTMLElement.querySelectorAll

Call Signature

querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16577

Type Parameters
Type Parameter
K extends keyof SVGElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from
HTMLElement.querySelectorAll

Call Signature

querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16578

Type Parameters
Type Parameter
K extends keyof MathMLElementTagNameMap
Parameters
ParameterType
selectorsK
Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from
HTMLElement.querySelectorAll

Call Signature

querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16580

Type Parameters
Type Parameter
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
ParameterType
selectorsK
Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from
HTMLElement.querySelectorAll

Call Signature

querySelectorAll<E>(selectors): NodeListOf<E>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16581

Type Parameters
Type ParameterDefault type
E extends ElementElement
Parameters
ParameterType
selectorsstring
Returns

NodeListOf<E>

Inherited from
HTMLElement.querySelectorAll

releasePointerCapture()

releasePointerCapture(pointerId): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7867

MDN Reference

Parameters

ParameterType
pointerIdnumber

Returns

void

Inherited from

HTMLElement.releasePointerCapture

remove()

remove(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:5726

Removes node.

MDN Reference

Returns

void

Inherited from

HTMLElement.remove

removeAttribute()

removeAttribute(qualifiedName): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7873

Removes element's first attribute whose qualified name is qualifiedName.

MDN Reference

Parameters

ParameterType
qualifiedNamestring

Returns

void

Inherited from

HTMLElement.removeAttribute

removeAttributeNode()

removeAttributeNode(attr): Attr;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7881

MDN Reference

Parameters

ParameterType
attrAttr

Returns

Attr

Inherited from

HTMLElement.removeAttributeNode

removeAttributeNS()

removeAttributeNS(namespace, localName): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7879

Removes element's attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

ParameterType
namespacestring | null
localNamestring

Returns

void

Inherited from

HTMLElement.removeAttributeNS

removeChild()

removeChild<T>(child): T;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15958

MDN Reference

Type Parameters

Type Parameter
T extends Node

Parameters

ParameterType
childT

Returns

T

Inherited from

HTMLElement.removeChild

removeEventListener()

Call Signature

removeEventListener<K>(
type,
listener,
options?
): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10085

Type Parameters
Type Parameter
K extends keyof HTMLElementEventMap
Parameters
ParameterType
typeK
listener(this, ev) => any
options?boolean | EventListenerOptions
Returns

void

Inherited from
HTMLElement.removeEventListener

Call Signature

removeEventListener(
type,
listener,
options?
): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10086

Parameters
ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions
Returns

void

Inherited from
HTMLElement.removeEventListener

replaceChild()

replaceChild<T>(node, child): T;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:15960

MDN Reference

Type Parameters

Type Parameter
T extends Node

Parameters

ParameterType
nodeNode
childT

Returns

T

Inherited from

HTMLElement.replaceChild

replaceChildren()

replaceChildren(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:16589

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.replaceChildren

replaceWith()

replaceWith(...nodes): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:5734

Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

ParameterType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.replaceWith

requestFullscreen()

requestFullscreen(options?): Promise<void>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7889

Displays element fullscreen and resolves promise when done.

When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.

MDN Reference

Parameters

ParameterType
options?FullscreenOptions

Returns

Promise<void>

Inherited from

HTMLElement.requestFullscreen

requestPointerLock()

requestPointerLock(options?): Promise<void>;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7891

MDN Reference

Parameters

ParameterType
options?PointerLockOptions

Returns

Promise<void>

Inherited from

HTMLElement.requestPointerLock

scroll()

Call Signature

scroll(options?): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7893

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Inherited from
HTMLElement.scroll

Call Signature

scroll(x, y): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7894

Parameters
ParameterType
xnumber
ynumber
Returns

void

Inherited from
HTMLElement.scroll

scrollBy()

Call Signature

scrollBy(options?): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7896

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Inherited from
HTMLElement.scrollBy

Call Signature

scrollBy(x, y): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7897

Parameters
ParameterType
xnumber
ynumber
Returns

void

Inherited from
HTMLElement.scrollBy

scrollIntoView()

scrollIntoView(arg?): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7899

MDN Reference

Parameters

ParameterType
arg?boolean | ScrollIntoViewOptions

Returns

void

Inherited from

HTMLElement.scrollIntoView

scrollTo()

Call Signature

scrollTo(options?): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7901

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Inherited from
HTMLElement.scrollTo

Call Signature

scrollTo(x, y): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7902

Parameters
ParameterType
xnumber
ynumber
Returns

void

Inherited from
HTMLElement.scrollTo

setAttribute()

setAttribute(qualifiedName, value): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7908

Sets the value of element's first attribute whose qualified name is qualifiedName to value.

MDN Reference

Parameters

ParameterType
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLElement.setAttribute

setAttributeNode()

setAttributeNode(attr): Attr | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7916

MDN Reference

Parameters

ParameterType
attrAttr

Returns

Attr | null

Inherited from

HTMLElement.setAttributeNode

setAttributeNodeNS()

setAttributeNodeNS(attr): Attr | null;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7918

MDN Reference

Parameters

ParameterType
attrAttr

Returns

Attr | null

Inherited from

HTMLElement.setAttributeNodeNS

setAttributeNS()

setAttributeNS(
namespace,
qualifiedName,
value
): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7914

Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

MDN Reference

Parameters

ParameterType
namespacestring | null
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLElement.setAttributeNS

setHTMLUnsafe()

setHTMLUnsafe(html): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7920

MDN Reference

Parameters

ParameterType
htmlstring

Returns

void

Inherited from

HTMLElement.setHTMLUnsafe

setPointerCapture()

setPointerCapture(pointerId): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7922

MDN Reference

Parameters

ParameterType
pointerIdnumber

Returns

void

Inherited from

HTMLElement.setPointerCapture

setValue()

setValue(path, value): void;

Defined in: packages/element/src/element.tsx:243

Parameters

ParameterType
pathstring
valueunknown

Returns

void


showPopover()

showPopover(): void;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10080

MDN Reference

Returns

void

Inherited from

HTMLElement.showPopover

toggleAttribute()

toggleAttribute(qualifiedName, force?): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7930

If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

Returns true if qualifiedName is now present, and false otherwise.

MDN Reference

Parameters

ParameterType
qualifiedNamestring
force?boolean

Returns

boolean

Inherited from

HTMLElement.toggleAttribute

togglePopover()

togglePopover(force?): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:10082

MDN Reference

Parameters

ParameterType
force?boolean

Returns

boolean

Inherited from

HTMLElement.togglePopover

validate()

validate(): ValidationResult;

Defined in: packages/element/src/element.tsx:231

Returns

ValidationResult


webkitMatchesSelector()

webkitMatchesSelector(selectors): boolean;

Defined in: website/node_modules/typescript/lib/lib.dom.d.ts:7936

Parameters

ParameterType
selectorsstring

Returns

boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Inherited from

HTMLElement.webkitMatchesSelector