Skip to main content

Class: ManimSceneElement

Defined in: src/integrations/webcomponent.ts:103

The <manim-scene> custom element implementation.

Extends​

  • HTMLElementBase

Constructors​

Constructor​

new ManimSceneElement(): ManimSceneElement

Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10091

Returns​

ManimSceneElement

Inherited from​

HTMLElementBase.constructor

Properties​

accessKey​

accessKey: string

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

MDN Reference

Inherited from​

HTMLElementBase.accessKey


accessKeyLabel​

readonly accessKeyLabel: string

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

MDN Reference

Inherited from​

HTMLElementBase.accessKeyLabel


ariaAtomic​

ariaAtomic: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaAtomic


ariaAutoComplete​

ariaAutoComplete: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaAutoComplete


ariaBrailleLabel​

ariaBrailleLabel: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaBrailleLabel


ariaBrailleRoleDescription​

ariaBrailleRoleDescription: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaBrailleRoleDescription


ariaBusy​

ariaBusy: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaBusy


ariaChecked​

ariaChecked: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaChecked


ariaColCount​

ariaColCount: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaColCount


ariaColIndex​

ariaColIndex: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaColIndex


ariaColSpan​

ariaColSpan: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaColSpan


ariaCurrent​

ariaCurrent: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaCurrent


ariaDescription​

ariaDescription: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaDescription


ariaDisabled​

ariaDisabled: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaDisabled


ariaExpanded​

ariaExpanded: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaExpanded


ariaHasPopup​

ariaHasPopup: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaHasPopup


ariaHidden​

ariaHidden: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaHidden


ariaInvalid​

ariaInvalid: string

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

Inherited from​

HTMLElementBase.ariaInvalid


ariaKeyShortcuts​

ariaKeyShortcuts: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaKeyShortcuts


ariaLabel​

ariaLabel: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaLabel


ariaLevel​

ariaLevel: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaLevel


ariaLive​

ariaLive: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaLive


ariaModal​

ariaModal: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaModal


ariaMultiLine​

ariaMultiLine: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaMultiLine


ariaMultiSelectable​

ariaMultiSelectable: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaMultiSelectable


ariaOrientation​

ariaOrientation: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaOrientation


ariaPlaceholder​

ariaPlaceholder: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaPlaceholder


ariaPosInSet​

ariaPosInSet: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaPosInSet


ariaPressed​

ariaPressed: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaPressed


ariaReadOnly​

ariaReadOnly: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaReadOnly


ariaRequired​

ariaRequired: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaRequired


ariaRoleDescription​

ariaRoleDescription: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaRoleDescription


ariaRowCount​

ariaRowCount: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaRowCount


ariaRowIndex​

ariaRowIndex: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaRowIndex


ariaRowSpan​

ariaRowSpan: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaRowSpan


ariaSelected​

ariaSelected: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaSelected


ariaSetSize​

ariaSetSize: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaSetSize


ariaSort​

ariaSort: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaSort


ariaValueMax​

ariaValueMax: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaValueMax


ariaValueMin​

ariaValueMin: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaValueMin


ariaValueNow​

ariaValueNow: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaValueNow


ariaValueText​

ariaValueText: string

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

MDN Reference

Inherited from​

HTMLElementBase.ariaValueText


assignedSlot​

readonly assignedSlot: HTMLSlotElement

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

MDN Reference

Inherited from​

HTMLElementBase.assignedSlot


ATTRIBUTE_NODE​

readonly ATTRIBUTE_NODE: 2

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

Inherited from​

HTMLElementBase.ATTRIBUTE_NODE


attributes​

readonly attributes: NamedNodeMap

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

MDN Reference

Inherited from​

HTMLElementBase.attributes


attributeStyleMap​

readonly attributeStyleMap: StylePropertyMap

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

MDN Reference

Inherited from​

HTMLElementBase.attributeStyleMap


autocapitalize​

autocapitalize: string

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

MDN Reference

Inherited from​

HTMLElementBase.autocapitalize


autofocus​

autofocus: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.autofocus


baseURI​

readonly baseURI: string

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

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

MDN Reference

Inherited from​

HTMLElementBase.baseURI


CDATA_SECTION_NODE​

readonly CDATA_SECTION_NODE: 4

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

node is a CDATASection node.

Inherited from​

HTMLElementBase.CDATA_SECTION_NODE


childElementCount​

readonly childElementCount: number

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

MDN Reference

Inherited from​

HTMLElementBase.childElementCount


childNodes​

readonly childNodes: NodeListOf<ChildNode>

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

Returns the children.

MDN Reference

Inherited from​

HTMLElementBase.childNodes


children​

readonly children: HTMLCollection

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

Returns the child elements.

MDN Reference

Inherited from​

HTMLElementBase.children


classList​

readonly classList: DOMTokenList

Defined in: docs/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​

HTMLElementBase.classList


className​

className: string

Defined in: docs/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​

HTMLElementBase.className


clientHeight​

readonly clientHeight: number

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

MDN Reference

Inherited from​

HTMLElementBase.clientHeight


clientLeft​

readonly clientLeft: number

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

MDN Reference

Inherited from​

HTMLElementBase.clientLeft


clientTop​

readonly clientTop: number

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

MDN Reference

Inherited from​

HTMLElementBase.clientTop


clientWidth​

readonly clientWidth: number

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

MDN Reference

Inherited from​

HTMLElementBase.clientWidth


COMMENT_NODE​

readonly COMMENT_NODE: 8

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

node is a Comment node.

Inherited from​

HTMLElementBase.COMMENT_NODE


contentEditable​

contentEditable: string

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

MDN Reference

Inherited from​

HTMLElementBase.contentEditable


dataset​

readonly dataset: DOMStringMap

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

MDN Reference

Inherited from​

HTMLElementBase.dataset


dir​

dir: string

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

MDN Reference

Inherited from​

HTMLElementBase.dir


DOCUMENT_FRAGMENT_NODE​

readonly DOCUMENT_FRAGMENT_NODE: 11

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

node is a DocumentFragment node.

Inherited from​

HTMLElementBase.DOCUMENT_FRAGMENT_NODE


DOCUMENT_NODE​

readonly DOCUMENT_NODE: 9

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

node is a document.

Inherited from​

HTMLElementBase.DOCUMENT_NODE


DOCUMENT_POSITION_CONTAINED_BY​

readonly DOCUMENT_POSITION_CONTAINED_BY: 16

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

Set when other is a descendant of node.

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_CONTAINED_BY


DOCUMENT_POSITION_CONTAINS​

readonly DOCUMENT_POSITION_CONTAINS: 8

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

Set when other is an ancestor of node.

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_CONTAINS


DOCUMENT_POSITION_DISCONNECTED​

readonly DOCUMENT_POSITION_DISCONNECTED: 1

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

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

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_DISCONNECTED


DOCUMENT_POSITION_FOLLOWING​

readonly DOCUMENT_POSITION_FOLLOWING: 4

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

Set when other is following node.

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_FOLLOWING


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC​

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

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

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


DOCUMENT_POSITION_PRECEDING​

readonly DOCUMENT_POSITION_PRECEDING: 2

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

Set when other is preceding node.

Inherited from​

HTMLElementBase.DOCUMENT_POSITION_PRECEDING


DOCUMENT_TYPE_NODE​

readonly DOCUMENT_TYPE_NODE: 10

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

node is a doctype.

Inherited from​

HTMLElementBase.DOCUMENT_TYPE_NODE


draggable​

draggable: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.draggable


ELEMENT_NODE​

readonly ELEMENT_NODE: 1

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

node is an element.

Inherited from​

HTMLElementBase.ELEMENT_NODE


enterKeyHint​

enterKeyHint: string

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

MDN Reference

Inherited from​

HTMLElementBase.enterKeyHint


ENTITY_NODE​

readonly ENTITY_NODE: 6

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

Inherited from​

HTMLElementBase.ENTITY_NODE


ENTITY_REFERENCE_NODE​

readonly ENTITY_REFERENCE_NODE: 5

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

Inherited from​

HTMLElementBase.ENTITY_REFERENCE_NODE


firstChild​

readonly firstChild: ChildNode

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

Returns the first child.

MDN Reference

Inherited from​

HTMLElementBase.firstChild


firstElementChild​

readonly firstElementChild: Element

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

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

MDN Reference

Inherited from​

HTMLElementBase.firstElementChild


hidden​

hidden: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.hidden


id​

id: string

Defined in: docs/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​

HTMLElementBase.id


inert​

inert: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.inert


innerHTML​

innerHTML: string

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

MDN Reference

Inherited from​

HTMLElementBase.innerHTML


innerText​

innerText: string

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

MDN Reference

Inherited from​

HTMLElementBase.innerText


inputMode​

inputMode: string

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

MDN Reference

Inherited from​

HTMLElementBase.inputMode


isConnected​

readonly isConnected: boolean

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

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from​

HTMLElementBase.isConnected


isContentEditable​

readonly isContentEditable: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.isContentEditable


lang​

lang: string

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

MDN Reference

Inherited from​

HTMLElementBase.lang


lastChild​

readonly lastChild: ChildNode

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

Returns the last child.

MDN Reference

Inherited from​

HTMLElementBase.lastChild


lastElementChild​

readonly lastElementChild: Element

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

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

MDN Reference

Inherited from​

HTMLElementBase.lastElementChild


localName​

readonly localName: string

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

Returns the local name.

MDN Reference

Inherited from​

HTMLElementBase.localName


namespaceURI​

readonly namespaceURI: string

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

Returns the namespace.

MDN Reference

Inherited from​

HTMLElementBase.namespaceURI


nextElementSibling​

readonly nextElementSibling: Element

Defined in: docs/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​

HTMLElementBase.nextElementSibling


nextSibling​

readonly nextSibling: ChildNode

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

Returns the next sibling.

MDN Reference

Inherited from​

HTMLElementBase.nextSibling


nodeName​

readonly nodeName: string

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

Returns a string appropriate for the type of node.

MDN Reference

Inherited from​

HTMLElementBase.nodeName


nodeType​

readonly nodeType: number

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

Returns the type of node.

MDN Reference

Inherited from​

HTMLElementBase.nodeType


nodeValue​

nodeValue: string

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

MDN Reference

Inherited from​

HTMLElementBase.nodeValue


nonce?​

optional nonce: string

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

MDN Reference

Inherited from​

HTMLElementBase.nonce


NOTATION_NODE​

readonly NOTATION_NODE: 12

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

Inherited from​

HTMLElementBase.NOTATION_NODE


offsetHeight​

readonly offsetHeight: number

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

MDN Reference

Inherited from​

HTMLElementBase.offsetHeight


offsetLeft​

readonly offsetLeft: number

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

MDN Reference

Inherited from​

HTMLElementBase.offsetLeft


offsetParent​

readonly offsetParent: Element

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

MDN Reference

Inherited from​

HTMLElementBase.offsetParent


offsetTop​

readonly offsetTop: number

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

MDN Reference

Inherited from​

HTMLElementBase.offsetTop


offsetWidth​

readonly offsetWidth: number

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

MDN Reference

Inherited from​

HTMLElementBase.offsetWidth


onabort()​

onabort: (this, ev) => any

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

Fires when the user aborts the download.

Parameters​

this​

GlobalEventHandlers

ev​

UIEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onabort


onanimationcancel()​

onanimationcancel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

AnimationEvent

Returns​

any

Inherited from​

HTMLElementBase.onanimationcancel


onanimationend()​

onanimationend: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

AnimationEvent

Returns​

any

Inherited from​

HTMLElementBase.onanimationend


onanimationiteration()​

onanimationiteration: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

AnimationEvent

Returns​

any

Inherited from​

HTMLElementBase.onanimationiteration


onanimationstart()​

onanimationstart: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

AnimationEvent

Returns​

any

Inherited from​

HTMLElementBase.onanimationstart


onauxclick()​

onauxclick: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

Returns​

any

Inherited from​

HTMLElementBase.onauxclick


onbeforeinput()​

onbeforeinput: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

InputEvent

Returns​

any

Inherited from​

HTMLElementBase.onbeforeinput


onbeforetoggle()​

onbeforetoggle: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onbeforetoggle


onbeforexrselect()​

onbeforexrselect: (this, ev) => any

Defined in: node_modules/@types/webxr/index.d.ts:1237

An XRSessionEvent of type beforexrselect is dispatched on the DOM overlay element before generating a WebXR selectstart input event if the -Z axis of the input source's targetRaySpace intersects the DOM overlay element at the time the input device's primary action is triggered.

Parameters​

this​

GlobalEventHandlers

ev​

XRSessionEvent

Returns​

any

Inherited from​

HTMLElementBase.onbeforexrselect


onblur()​

onblur: (this, ev) => any

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

Fires when the object loses the input focus.

Parameters​

this​

GlobalEventHandlers

ev​

FocusEvent

The focus event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onblur


oncancel()​

oncancel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oncancel


oncanplay()​

oncanplay: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.oncanplay


oncanplaythrough()​

oncanplaythrough: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oncanplaythrough


onchange()​

onchange: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onchange


onclick()​

onclick: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onclick


onclose()​

onclose: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onclose


oncontextlost()​

oncontextlost: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oncontextlost


oncontextmenu()​

oncontextmenu: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.oncontextmenu


oncontextrestored()​

oncontextrestored: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oncontextrestored


oncopy()​

oncopy: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

ClipboardEvent

Returns​

any

Inherited from​

HTMLElementBase.oncopy


oncuechange()​

oncuechange: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oncuechange


oncut()​

oncut: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

ClipboardEvent

Returns​

any

Inherited from​

HTMLElementBase.oncut


ondblclick()​

ondblclick: (this, ev) => any

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

Fires when the user double-clicks the object.

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondblclick


ondrag()​

ondrag: (this, ev) => any

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

Fires on the source object continuously during a drag operation.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondrag


ondragend()​

ondragend: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondragend


ondragenter()​

ondragenter: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The drag event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondragenter


ondragleave()​

ondragleave: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The drag event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondragleave


ondragover()​

ondragover: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondragover


ondragstart()​

ondragstart: (this, ev) => any

Defined in: docs/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.

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondragstart


ondrop()​

ondrop: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

DragEvent

Returns​

any

Inherited from​

HTMLElementBase.ondrop


ondurationchange()​

ondurationchange: (this, ev) => any

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

Occurs when the duration attribute is updated.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ondurationchange


onemptied()​

onemptied: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onemptied


onended()​

onended: (this, ev) => any

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

Occurs when the end of playback is reached.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onended


onerror​

onerror: OnErrorEventHandlerNonNull

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

Fires when an error occurs during object loading.

Param​

The event.

MDN Reference

Inherited from​

HTMLElementBase.onerror


onfocus()​

onfocus: (this, ev) => any

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

Fires when the object receives focus.

Parameters​

this​

GlobalEventHandlers

ev​

FocusEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onfocus


onformdata()​

onformdata: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

FormDataEvent

Returns​

any

Inherited from​

HTMLElementBase.onformdata


onfullscreenchange()​

onfullscreenchange: (this, ev) => any

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

MDN Reference

Parameters​

this​

Element

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onfullscreenchange


onfullscreenerror()​

onfullscreenerror: (this, ev) => any

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

MDN Reference

Parameters​

this​

Element

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onfullscreenerror


ongotpointercapture()​

ongotpointercapture: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.ongotpointercapture


oninput()​

oninput: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oninput


oninvalid()​

oninvalid: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.oninvalid


onkeydown()​

onkeydown: (this, ev) => any

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

Fires when the user presses a key.

Parameters​

this​

GlobalEventHandlers

ev​

KeyboardEvent

The keyboard event

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onkeydown


onkeypress()​

onkeypress: (this, ev) => any

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

Fires when the user presses an alphanumeric key.

Parameters​

this​

GlobalEventHandlers

ev​

KeyboardEvent

The event.

Returns​

any

Deprecated​

MDN Reference

Inherited from​

HTMLElementBase.onkeypress


onkeyup()​

onkeyup: (this, ev) => any

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

Fires when the user releases a key.

Parameters​

this​

GlobalEventHandlers

ev​

KeyboardEvent

The keyboard event

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onkeyup


onload()​

onload: (this, ev) => any

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

Fires immediately after the browser loads the object.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onload


onloadeddata()​

onloadeddata: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onloadeddata


onloadedmetadata()​

onloadedmetadata: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onloadedmetadata


onloadstart()​

onloadstart: (this, ev) => any

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

Occurs when Internet Explorer begins looking for media data.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onloadstart


onlostpointercapture()​

onlostpointercapture: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onlostpointercapture


onmousedown()​

onmousedown: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onmousedown


onmouseenter()​

onmouseenter: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

Returns​

any

Inherited from​

HTMLElementBase.onmouseenter


onmouseleave()​

onmouseleave: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

Returns​

any

Inherited from​

HTMLElementBase.onmouseleave


onmousemove()​

onmousemove: (this, ev) => any

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

Fires when the user moves the mouse over the object.

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onmousemove


onmouseout()​

onmouseout: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onmouseout


onmouseover()​

onmouseover: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onmouseover


onmouseup()​

onmouseup: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

MouseEvent

The mouse event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onmouseup


onpaste()​

onpaste: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

ClipboardEvent

Returns​

any

Inherited from​

HTMLElementBase.onpaste


onpause()​

onpause: (this, ev) => any

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

Occurs when playback is paused.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onpause


onplay()​

onplay: (this, ev) => any

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

Occurs when the play method is requested.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onplay


onplaying()​

onplaying: (this, ev) => any

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

Occurs when the audio or video has started playing.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onplaying


onpointercancel()​

onpointercancel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointercancel


onpointerdown()​

onpointerdown: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerdown


onpointerenter()​

onpointerenter: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerenter


onpointerleave()​

onpointerleave: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerleave


onpointermove()​

onpointermove: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointermove


onpointerout()​

onpointerout: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerout


onpointerover()​

onpointerover: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerover


onpointerup()​

onpointerup: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

PointerEvent

Returns​

any

Inherited from​

HTMLElementBase.onpointerup


onprogress()​

onprogress: (this, ev) => any

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

Occurs to indicate progress while downloading media data.

Parameters​

this​

GlobalEventHandlers

ev​

ProgressEvent

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onprogress


onratechange()​

onratechange: (this, ev) => any

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

Occurs when the playback rate is increased or decreased.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onratechange


onreset()​

onreset: (this, ev) => any

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

Fires when the user resets a form.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onreset


onresize()​

onresize: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

UIEvent

Returns​

any

Inherited from​

HTMLElementBase.onresize


onscroll()​

onscroll: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onscroll


onscrollend()​

onscrollend: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onscrollend


onsecuritypolicyviolation()​

onsecuritypolicyviolation: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

SecurityPolicyViolationEvent

Returns​

any

Inherited from​

HTMLElementBase.onsecuritypolicyviolation


onseeked()​

onseeked: (this, ev) => any

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

Occurs when the seek operation ends.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onseeked


onseeking()​

onseeking: (this, ev) => any

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

Occurs when the current playback position is moved.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onseeking


onselect()​

onselect: (this, ev) => any

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

Fires when the current selection changes.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onselect


onselectionchange()​

onselectionchange: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onselectionchange


onselectstart()​

onselectstart: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onselectstart


onslotchange()​

onslotchange: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.onslotchange


onstalled()​

onstalled: (this, ev) => any

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

Occurs when the download has stopped.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onstalled


onsubmit()​

onsubmit: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

SubmitEvent

Returns​

any

Inherited from​

HTMLElementBase.onsubmit


onsuspend()​

onsuspend: (this, ev) => any

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

Occurs if the load operation has been intentionally halted.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onsuspend


ontimeupdate()​

ontimeupdate: (this, ev) => any

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

Occurs to indicate the current playback position.

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.ontimeupdate


ontoggle()​

ontoggle: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Inherited from​

HTMLElementBase.ontoggle


ontouchcancel()?​

optional ontouchcancel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TouchEvent

Returns​

any

Inherited from​

HTMLElementBase.ontouchcancel


ontouchend()?​

optional ontouchend: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TouchEvent

Returns​

any

Inherited from​

HTMLElementBase.ontouchend


ontouchmove()?​

optional ontouchmove: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TouchEvent

Returns​

any

Inherited from​

HTMLElementBase.ontouchmove


ontouchstart()?​

optional ontouchstart: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TouchEvent

Returns​

any

Inherited from​

HTMLElementBase.ontouchstart


ontransitioncancel()​

ontransitioncancel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TransitionEvent

Returns​

any

Inherited from​

HTMLElementBase.ontransitioncancel


ontransitionend()​

ontransitionend: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TransitionEvent

Returns​

any

Inherited from​

HTMLElementBase.ontransitionend


ontransitionrun()​

ontransitionrun: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TransitionEvent

Returns​

any

Inherited from​

HTMLElementBase.ontransitionrun


ontransitionstart()​

ontransitionstart: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

TransitionEvent

Returns​

any

Inherited from​

HTMLElementBase.ontransitionstart


onvolumechange()​

onvolumechange: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onvolumechange


onwaiting()​

onwaiting: (this, ev) => any

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

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

The event.

MDN Reference

Returns​

any

Inherited from​

HTMLElementBase.onwaiting


onwebkitanimationend()​

onwebkitanimationend: (this, ev) => any

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Deprecated​

This is a legacy alias of onanimationend.

MDN Reference

Inherited from​

HTMLElementBase.onwebkitanimationend


onwebkitanimationiteration()​

onwebkitanimationiteration: (this, ev) => any

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Deprecated​

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from​

HTMLElementBase.onwebkitanimationiteration


onwebkitanimationstart()​

onwebkitanimationstart: (this, ev) => any

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Deprecated​

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from​

HTMLElementBase.onwebkitanimationstart


onwebkittransitionend()​

onwebkittransitionend: (this, ev) => any

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

Parameters​

this​

GlobalEventHandlers

ev​

Event

Returns​

any

Deprecated​

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from​

HTMLElementBase.onwebkittransitionend


onwheel()​

onwheel: (this, ev) => any

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

MDN Reference

Parameters​

this​

GlobalEventHandlers

ev​

WheelEvent

Returns​

any

Inherited from​

HTMLElementBase.onwheel


outerHTML​

outerHTML: string

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

MDN Reference

Inherited from​

HTMLElementBase.outerHTML


outerText​

outerText: string

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

MDN Reference

Inherited from​

HTMLElementBase.outerText


ownerDocument​

readonly ownerDocument: Document

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

Returns the node document. Returns null for documents.

MDN Reference

Inherited from​

HTMLElementBase.ownerDocument


parentElement​

readonly parentElement: HTMLElement

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

Returns the parent element.

MDN Reference

Inherited from​

HTMLElementBase.parentElement


parentNode​

readonly parentNode: ParentNode

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

Returns the parent.

MDN Reference

Inherited from​

HTMLElementBase.parentNode


part​

readonly part: DOMTokenList

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

MDN Reference

Inherited from​

HTMLElementBase.part


popover​

popover: string

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

MDN Reference

Inherited from​

HTMLElementBase.popover


prefix​

readonly prefix: string

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

Returns the namespace prefix.

MDN Reference

Inherited from​

HTMLElementBase.prefix


previousElementSibling​

readonly previousElementSibling: Element

Defined in: docs/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​

HTMLElementBase.previousElementSibling


previousSibling​

readonly previousSibling: ChildNode

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

Returns the previous sibling.

MDN Reference

Inherited from​

HTMLElementBase.previousSibling


PROCESSING_INSTRUCTION_NODE​

readonly PROCESSING_INSTRUCTION_NODE: 7

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

node is a ProcessingInstruction node.

Inherited from​

HTMLElementBase.PROCESSING_INSTRUCTION_NODE


role​

role: string

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

Inherited from​

HTMLElementBase.role


scrollHeight​

readonly scrollHeight: number

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

MDN Reference

Inherited from​

HTMLElementBase.scrollHeight


scrollLeft​

scrollLeft: number

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

MDN Reference

Inherited from​

HTMLElementBase.scrollLeft


scrollTop​

scrollTop: number

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

MDN Reference

Inherited from​

HTMLElementBase.scrollTop


scrollWidth​

readonly scrollWidth: number

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

MDN Reference

Inherited from​

HTMLElementBase.scrollWidth


shadowRoot​

readonly shadowRoot: ShadowRoot

Defined in: docs/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​

HTMLElementBase.shadowRoot


slot​

slot: string

Defined in: docs/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​

HTMLElementBase.slot


spellcheck​

spellcheck: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.spellcheck


style​

readonly style: CSSStyleDeclaration

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

MDN Reference

Inherited from​

HTMLElementBase.style


tabIndex​

tabIndex: number

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

MDN Reference

Inherited from​

HTMLElementBase.tabIndex


tagName​

readonly tagName: string

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

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from​

HTMLElementBase.tagName


TEXT_NODE​

readonly TEXT_NODE: 3

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

node is a Text node.

Inherited from​

HTMLElementBase.TEXT_NODE


textContent​

textContent: string

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

MDN Reference

Inherited from​

HTMLElementBase.textContent


title​

title: string

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

MDN Reference

Inherited from​

HTMLElementBase.title


translate​

translate: boolean

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

MDN Reference

Inherited from​

HTMLElementBase.translate

Accessors​

scene​

Get Signature​

get scene(): ManimSceneFactory

Defined in: src/integrations/webcomponent.ts:118

The programmatic scene factory, an alternative to the src attribute.

Returns​

ManimSceneFactory

Set Signature​

set scene(factory): void

Defined in: src/integrations/webcomponent.ts:122

Parameters​
factory​

ManimSceneFactory

Returns​

void


observedAttributes​

Get Signature​

get static observedAttributes(): string[]

Defined in: src/integrations/webcomponent.ts:104

Returns​

string[]

Methods​

addEventListener()​

Call Signature​

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

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

Type Parameters​
K​

K extends keyof HTMLElementEventMap

Parameters​
type​

K

listener​

(this, ev) => any

options?​

boolean | AddEventListenerOptions

Returns​

void

Inherited from​

HTMLElementBase.addEventListener

Call Signature​

addEventListener(type, listener, options?): void

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

Parameters​
type​

string

listener​

EventListenerOrEventListenerObject

options?​

boolean | AddEventListenerOptions

Returns​

void

Inherited from​

HTMLElementBase.addEventListener


after()​

after(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.after


animate()​

animate(keyframes, options?): Animation

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

MDN Reference

Parameters​

keyframes​

Keyframe[] | PropertyIndexedKeyframes

options?​

number | KeyframeAnimationOptions

Returns​

Animation

Inherited from​

HTMLElementBase.animate


append()​

append(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.append


appendChild()​

appendChild<T>(node): T

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

MDN Reference

Type Parameters​

T​

T extends Node

Parameters​

node​

T

Returns​

T

Inherited from​

HTMLElementBase.appendChild


attachInternals()​

attachInternals(): ElementInternals

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

MDN Reference

Returns​

ElementInternals

Inherited from​

HTMLElementBase.attachInternals


attachShadow()​

attachShadow(init): ShadowRoot

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

Creates a shadow root for element and returns it.

MDN Reference

Parameters​

init​

ShadowRootInit

Returns​

ShadowRoot

Inherited from​

HTMLElementBase.attachShadow


attributeChangedCallback()​

attributeChangedCallback(name, oldValue, newValue): void

Defined in: src/integrations/webcomponent.ts:151

Parameters​

name​

string

oldValue​

string

newValue​

string

Returns​

void


before()​

before(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.before


blur()​

blur(): void

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

MDN Reference

Returns​

void

Inherited from​

HTMLElementBase.blur


checkVisibility()​

checkVisibility(options?): boolean

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

MDN Reference

Parameters​

options?​

CheckVisibilityOptions

Returns​

boolean

Inherited from​

HTMLElementBase.checkVisibility


click()​

click(): void

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

MDN Reference

Returns​

void

Inherited from​

HTMLElementBase.click


cloneNode()​

cloneNode(deep?): Node

Defined in: docs/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​

deep?​

boolean

Returns​

Node

Inherited from​

HTMLElementBase.cloneNode


closest()​

Call Signature​

closest<K>(selector): HTMLElementTagNameMap[K]

Defined in: docs/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​
K​

K extends keyof HTMLElementTagNameMap

Parameters​
selector​

K

Returns​

HTMLElementTagNameMap[K]

Inherited from​

HTMLElementBase.closest

Call Signature​

closest<K>(selector): SVGElementTagNameMap[K]

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

Type Parameters​
K​

K extends keyof SVGElementTagNameMap

Parameters​
selector​

K

Returns​

SVGElementTagNameMap[K]

Inherited from​

HTMLElementBase.closest

Call Signature​

closest<K>(selector): MathMLElementTagNameMap[K]

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

Type Parameters​
K​

K extends keyof MathMLElementTagNameMap

Parameters​
selector​

K

Returns​

MathMLElementTagNameMap[K]

Inherited from​

HTMLElementBase.closest

Call Signature​

closest<E>(selectors): E

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

Type Parameters​
E​

E extends Element = Element

Parameters​
selectors​

string

Returns​

E

Inherited from​

HTMLElementBase.closest


compareDocumentPosition()​

compareDocumentPosition(other): number

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

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

MDN Reference

Parameters​

other​

Node

Returns​

number

Inherited from​

HTMLElementBase.compareDocumentPosition


computedStyleMap()​

computedStyleMap(): StylePropertyMapReadOnly

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

MDN Reference

Returns​

StylePropertyMapReadOnly

Inherited from​

HTMLElementBase.computedStyleMap


connectedCallback()​

connectedCallback(): void

Defined in: src/integrations/webcomponent.ts:139

Returns​

void


contains()​

contains(other): boolean

Defined in: docs/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​

other​

Node

Returns​

boolean

Inherited from​

HTMLElementBase.contains


disconnectedCallback()​

disconnectedCallback(): void

Defined in: src/integrations/webcomponent.ts:145

Returns​

void


dispatchEvent()​

dispatchEvent(event): boolean

Defined in: docs/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​

event​

Event

Returns​

boolean

Inherited from​

HTMLElementBase.dispatchEvent


focus()​

focus(options?): void

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

MDN Reference

Parameters​

options?​

FocusOptions

Returns​

void

Inherited from​

HTMLElementBase.focus


getAnimations()​

getAnimations(options?): Animation[]

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

MDN Reference

Parameters​

options?​

GetAnimationsOptions

Returns​

Animation[]

Inherited from​

HTMLElementBase.getAnimations


getAttribute()​

getAttribute(qualifiedName): string

Defined in: docs/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​

qualifiedName​

string

Returns​

string

Inherited from​

HTMLElementBase.getAttribute


getAttributeNames()​

getAttributeNames(): string[]

Defined in: docs/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​

HTMLElementBase.getAttributeNames


getAttributeNode()​

getAttributeNode(qualifiedName): Attr

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

MDN Reference

Parameters​

qualifiedName​

string

Returns​

Attr

Inherited from​

HTMLElementBase.getAttributeNode


getAttributeNodeNS()​

getAttributeNodeNS(namespace, localName): Attr

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

MDN Reference

Parameters​

namespace​

string

localName​

string

Returns​

Attr

Inherited from​

HTMLElementBase.getAttributeNodeNS


getAttributeNS()​

getAttributeNS(namespace, localName): string

Defined in: docs/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​

namespace​

string

localName​

string

Returns​

string

Inherited from​

HTMLElementBase.getAttributeNS


getBoundingClientRect()​

getBoundingClientRect(): DOMRect

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

MDN Reference

Returns​

DOMRect

Inherited from​

HTMLElementBase.getBoundingClientRect


getClientRects()​

getClientRects(): DOMRectList

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

MDN Reference

Returns​

DOMRectList

Inherited from​

HTMLElementBase.getClientRects


getElementsByClassName()​

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Defined in: docs/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​

classNames​

string

Returns​

HTMLCollectionOf<Element>

Inherited from​

HTMLElementBase.getElementsByClassName


getElementsByTagName()​

Call Signature​

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

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

MDN Reference

Type Parameters​
K​

K extends keyof HTMLElementTagNameMap

Parameters​
qualifiedName​

K

Returns​

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from​

HTMLElementBase.getElementsByTagName

Call Signature​

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

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

Type Parameters​
K​

K extends keyof SVGElementTagNameMap

Parameters​
qualifiedName​

K

Returns​

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from​

HTMLElementBase.getElementsByTagName

Call Signature​

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

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

Type Parameters​
K​

K extends keyof MathMLElementTagNameMap

Parameters​
qualifiedName​

K

Returns​

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from​

HTMLElementBase.getElementsByTagName

Call Signature​

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

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

Type Parameters​
K​

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters​
qualifiedName​

K

Returns​

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated​
Inherited from​

HTMLElementBase.getElementsByTagName

Call Signature​

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

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

Parameters​
qualifiedName​

string

Returns​

HTMLCollectionOf<Element>

Inherited from​

HTMLElementBase.getElementsByTagName


getElementsByTagNameNS()​

Call Signature​

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

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

MDN Reference

Parameters​
namespaceURI​

"http://www.w3.org/1999/xhtml"

localName​

string

Returns​

HTMLCollectionOf<HTMLElement>

Inherited from​

HTMLElementBase.getElementsByTagNameNS

Call Signature​

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

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

Parameters​
namespaceURI​

"http://www.w3.org/2000/svg"

localName​

string

Returns​

HTMLCollectionOf<SVGElement>

Inherited from​

HTMLElementBase.getElementsByTagNameNS

Call Signature​

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

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

Parameters​
namespaceURI​

"http://www.w3.org/1998/Math/MathML"

localName​

string

Returns​

HTMLCollectionOf<MathMLElement>

Inherited from​

HTMLElementBase.getElementsByTagNameNS

Call Signature​

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

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

Parameters​
namespace​

string

localName​

string

Returns​

HTMLCollectionOf<Element>

Inherited from​

HTMLElementBase.getElementsByTagNameNS


getHTML()​

getHTML(options?): string

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

MDN Reference

Parameters​

options?​

GetHTMLOptions

Returns​

string

Inherited from​

HTMLElementBase.getHTML


getRootNode()​

getRootNode(options?): Node

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

Returns node's root.

MDN Reference

Parameters​

options?​

GetRootNodeOptions

Returns​

Node

Inherited from​

HTMLElementBase.getRootNode


hasAttribute()​

hasAttribute(qualifiedName): boolean

Defined in: docs/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​

qualifiedName​

string

Returns​

boolean

Inherited from​

HTMLElementBase.hasAttribute


hasAttributeNS()​

hasAttributeNS(namespace, localName): boolean

Defined in: docs/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​

namespace​

string

localName​

string

Returns​

boolean

Inherited from​

HTMLElementBase.hasAttributeNS


hasAttributes()​

hasAttributes(): boolean

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

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns​

boolean

Inherited from​

HTMLElementBase.hasAttributes


hasChildNodes()​

hasChildNodes(): boolean

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

Returns whether node has children.

MDN Reference

Returns​

boolean

Inherited from​

HTMLElementBase.hasChildNodes


hasPointerCapture()​

hasPointerCapture(pointerId): boolean

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

MDN Reference

Parameters​

pointerId​

number

Returns​

boolean

Inherited from​

HTMLElementBase.hasPointerCapture


hidePopover()​

hidePopover(): void

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

MDN Reference

Returns​

void

Inherited from​

HTMLElementBase.hidePopover


insertAdjacentElement()​

insertAdjacentElement(where, element): Element

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

MDN Reference

Parameters​

where​

InsertPosition

element​

Element

Returns​

Element

Inherited from​

HTMLElementBase.insertAdjacentElement


insertAdjacentHTML()​

insertAdjacentHTML(position, string): void

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

MDN Reference

Parameters​

position​

InsertPosition

string​

string

Returns​

void

Inherited from​

HTMLElementBase.insertAdjacentHTML


insertAdjacentText()​

insertAdjacentText(where, data): void

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

MDN Reference

Parameters​

where​

InsertPosition

data​

string

Returns​

void

Inherited from​

HTMLElementBase.insertAdjacentText


insertBefore()​

insertBefore<T>(node, child): T

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

MDN Reference

Type Parameters​

T​

T extends Node

Parameters​

node​

T

child​

Node

Returns​

T

Inherited from​

HTMLElementBase.insertBefore


isDefaultNamespace()​

isDefaultNamespace(namespace): boolean

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

MDN Reference

Parameters​

namespace​

string

Returns​

boolean

Inherited from​

HTMLElementBase.isDefaultNamespace


isEqualNode()​

isEqualNode(otherNode): boolean

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

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters​

otherNode​

Node

Returns​

boolean

Inherited from​

HTMLElementBase.isEqualNode


isSameNode()​

isSameNode(otherNode): boolean

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

MDN Reference

Parameters​

otherNode​

Node

Returns​

boolean

Inherited from​

HTMLElementBase.isSameNode


lookupNamespaceURI()​

lookupNamespaceURI(prefix): string

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

MDN Reference

Parameters​

prefix​

string

Returns​

string

Inherited from​

HTMLElementBase.lookupNamespaceURI


lookupPrefix()​

lookupPrefix(namespace): string

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

MDN Reference

Parameters​

namespace​

string

Returns​

string

Inherited from​

HTMLElementBase.lookupPrefix


matches()​

matches(selectors): boolean

Defined in: docs/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​

selectors​

string

Returns​

boolean

Inherited from​

HTMLElementBase.matches


normalize()​

normalize(): void

Defined in: docs/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​

HTMLElementBase.normalize


prepend()​

prepend(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.prepend


querySelector()​

Call Signature​

querySelector<K>(selectors): HTMLElementTagNameMap[K]

Defined in: docs/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​
K​

K extends keyof HTMLElementTagNameMap

Parameters​
selectors​

K

Returns​

HTMLElementTagNameMap[K]

Inherited from​

HTMLElementBase.querySelector

Call Signature​

querySelector<K>(selectors): SVGElementTagNameMap[K]

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

Type Parameters​
K​

K extends keyof SVGElementTagNameMap

Parameters​
selectors​

K

Returns​

SVGElementTagNameMap[K]

Inherited from​

HTMLElementBase.querySelector

Call Signature​

querySelector<K>(selectors): MathMLElementTagNameMap[K]

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

Type Parameters​
K​

K extends keyof MathMLElementTagNameMap

Parameters​
selectors​

K

Returns​

MathMLElementTagNameMap[K]

Inherited from​

HTMLElementBase.querySelector

Call Signature​

querySelector<K>(selectors): HTMLElementDeprecatedTagNameMap[K]

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

Type Parameters​
K​

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters​
selectors​

K

Returns​

HTMLElementDeprecatedTagNameMap[K]

Deprecated​
Inherited from​

HTMLElementBase.querySelector

Call Signature​

querySelector<E>(selectors): E

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

Type Parameters​
E​

E extends Element = Element

Parameters​
selectors​

string

Returns​

E

Inherited from​

HTMLElementBase.querySelector


querySelectorAll()​

Call Signature​

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

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

Returns all element descendants of node that match selectors.

MDN Reference

Type Parameters​
K​

K extends keyof HTMLElementTagNameMap

Parameters​
selectors​

K

Returns​

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from​

HTMLElementBase.querySelectorAll

Call Signature​

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

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

Type Parameters​
K​

K extends keyof SVGElementTagNameMap

Parameters​
selectors​

K

Returns​

NodeListOf<SVGElementTagNameMap[K]>

Inherited from​

HTMLElementBase.querySelectorAll

Call Signature​

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

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

Type Parameters​
K​

K extends keyof MathMLElementTagNameMap

Parameters​
selectors​

K

Returns​

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from​

HTMLElementBase.querySelectorAll

Call Signature​

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

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

Type Parameters​
K​

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters​
selectors​

K

Returns​

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated​
Inherited from​

HTMLElementBase.querySelectorAll

Call Signature​

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

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

Type Parameters​
E​

E extends Element = Element

Parameters​
selectors​

string

Returns​

NodeListOf<E>

Inherited from​

HTMLElementBase.querySelectorAll


releasePointerCapture()​

releasePointerCapture(pointerId): void

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

MDN Reference

Parameters​

pointerId​

number

Returns​

void

Inherited from​

HTMLElementBase.releasePointerCapture


remove()​

remove(): void

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

Removes node.

MDN Reference

Returns​

void

Inherited from​

HTMLElementBase.remove


removeAttribute()​

removeAttribute(qualifiedName): void

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

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

MDN Reference

Parameters​

qualifiedName​

string

Returns​

void

Inherited from​

HTMLElementBase.removeAttribute


removeAttributeNode()​

removeAttributeNode(attr): Attr

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

MDN Reference

Parameters​

attr​

Attr

Returns​

Attr

Inherited from​

HTMLElementBase.removeAttributeNode


removeAttributeNS()​

removeAttributeNS(namespace, localName): void

Defined in: docs/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​

namespace​

string

localName​

string

Returns​

void

Inherited from​

HTMLElementBase.removeAttributeNS


removeChild()​

removeChild<T>(child): T

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

MDN Reference

Type Parameters​

T​

T extends Node

Parameters​

child​

T

Returns​

T

Inherited from​

HTMLElementBase.removeChild


removeEventListener()​

Call Signature​

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

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

Type Parameters​
K​

K extends keyof HTMLElementEventMap

Parameters​
type​

K

listener​

(this, ev) => any

options?​

boolean | EventListenerOptions

Returns​

void

Inherited from​

HTMLElementBase.removeEventListener

Call Signature​

removeEventListener(type, listener, options?): void

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

Parameters​
type​

string

listener​

EventListenerOrEventListenerObject

options?​

boolean | EventListenerOptions

Returns​

void

Inherited from​

HTMLElementBase.removeEventListener


replaceChild()​

replaceChild<T>(node, child): T

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

MDN Reference

Type Parameters​

T​

T extends Node

Parameters​

node​

Node

child​

T

Returns​

T

Inherited from​

HTMLElementBase.replaceChild


replaceChildren()​

replaceChildren(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.replaceChildren


replaceWith()​

replaceWith(...nodes): void

Defined in: docs/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​

nodes​

...(string | Node)[]

Returns​

void

Inherited from​

HTMLElementBase.replaceWith


requestFullscreen()​

requestFullscreen(options?): Promise<void>

Defined in: docs/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​

options?​

FullscreenOptions

Returns​

Promise<void>

Inherited from​

HTMLElementBase.requestFullscreen


requestPointerLock()​

requestPointerLock(options?): Promise<void>

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

MDN Reference

Parameters​

options?​

PointerLockOptions

Returns​

Promise<void>

Inherited from​

HTMLElementBase.requestPointerLock


scroll()​

Call Signature​

scroll(options?): void

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

MDN Reference

Parameters​
options?​

ScrollToOptions

Returns​

void

Inherited from​

HTMLElementBase.scroll

Call Signature​

scroll(x, y): void

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

Parameters​
x​

number

y​

number

Returns​

void

Inherited from​

HTMLElementBase.scroll


scrollBy()​

Call Signature​

scrollBy(options?): void

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

MDN Reference

Parameters​
options?​

ScrollToOptions

Returns​

void

Inherited from​

HTMLElementBase.scrollBy

Call Signature​

scrollBy(x, y): void

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

Parameters​
x​

number

y​

number

Returns​

void

Inherited from​

HTMLElementBase.scrollBy


scrollIntoView()​

scrollIntoView(arg?): void

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

MDN Reference

Parameters​

arg?​

boolean | ScrollIntoViewOptions

Returns​

void

Inherited from​

HTMLElementBase.scrollIntoView


scrollTo()​

Call Signature​

scrollTo(options?): void

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

MDN Reference

Parameters​
options?​

ScrollToOptions

Returns​

void

Inherited from​

HTMLElementBase.scrollTo

Call Signature​

scrollTo(x, y): void

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

Parameters​
x​

number

y​

number

Returns​

void

Inherited from​

HTMLElementBase.scrollTo


setAttribute()​

setAttribute(qualifiedName, value): void

Defined in: docs/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​

qualifiedName​

string

value​

string

Returns​

void

Inherited from​

HTMLElementBase.setAttribute


setAttributeNode()​

setAttributeNode(attr): Attr

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

MDN Reference

Parameters​

attr​

Attr

Returns​

Attr

Inherited from​

HTMLElementBase.setAttributeNode


setAttributeNodeNS()​

setAttributeNodeNS(attr): Attr

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

MDN Reference

Parameters​

attr​

Attr

Returns​

Attr

Inherited from​

HTMLElementBase.setAttributeNodeNS


setAttributeNS()​

setAttributeNS(namespace, qualifiedName, value): void

Defined in: docs/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​

namespace​

string

qualifiedName​

string

value​

string

Returns​

void

Inherited from​

HTMLElementBase.setAttributeNS


setHTMLUnsafe()​

setHTMLUnsafe(html): void

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

MDN Reference

Parameters​

html​

string

Returns​

void

Inherited from​

HTMLElementBase.setHTMLUnsafe


setPointerCapture()​

setPointerCapture(pointerId): void

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

MDN Reference

Parameters​

pointerId​

number

Returns​

void

Inherited from​

HTMLElementBase.setPointerCapture


showPopover()​

showPopover(): void

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

MDN Reference

Returns​

void

Inherited from​

HTMLElementBase.showPopover


toggleAttribute()​

toggleAttribute(qualifiedName, force?): boolean

Defined in: docs/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​

qualifiedName​

string

force?​

boolean

Returns​

boolean

Inherited from​

HTMLElementBase.toggleAttribute


togglePopover()​

togglePopover(force?): boolean

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

MDN Reference

Parameters​

force?​

boolean

Returns​

boolean

Inherited from​

HTMLElementBase.togglePopover


webkitMatchesSelector()​

webkitMatchesSelector(selectors): boolean

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

Parameters​

selectors​

string

Returns​

boolean

Deprecated​

This is a legacy alias of matches.

MDN Reference

Inherited from​

HTMLElementBase.webkitMatchesSelector


whenReady()​

whenReady(): Promise<void>

Defined in: src/integrations/webcomponent.ts:134

Resolves once the element is connected and its most recent mount settles. Yields a task first so a just-queued connectedCallback runs before the mount promise is awaited.

Returns​

Promise<void>