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
Inherited from
HTMLElementBase.accessKey
accessKeyLabel
readonlyaccessKeyLabel:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10038
Inherited from
HTMLElementBase.accessKeyLabel
ariaAtomic
ariaAtomic:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2229
Inherited from
HTMLElementBase.ariaAtomic
ariaAutoComplete
ariaAutoComplete:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2231
Inherited from
HTMLElementBase.ariaAutoComplete
ariaBrailleLabel
ariaBrailleLabel:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2233
Inherited from
HTMLElementBase.ariaBrailleLabel
ariaBrailleRoleDescription
ariaBrailleRoleDescription:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2235
Inherited from
HTMLElementBase.ariaBrailleRoleDescription
ariaBusy
ariaBusy:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2237
Inherited from
HTMLElementBase.ariaBusy
ariaChecked
ariaChecked:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2239
Inherited from
HTMLElementBase.ariaChecked
ariaColCount
ariaColCount:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2241
Inherited from
HTMLElementBase.ariaColCount
ariaColIndex
ariaColIndex:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2243
Inherited from
HTMLElementBase.ariaColIndex
ariaColSpan
ariaColSpan:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2245
Inherited from
HTMLElementBase.ariaColSpan
ariaCurrent
ariaCurrent:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2247
Inherited from
HTMLElementBase.ariaCurrent
ariaDescription
ariaDescription:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2249
Inherited from
HTMLElementBase.ariaDescription
ariaDisabled
ariaDisabled:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2251
Inherited from
HTMLElementBase.ariaDisabled
ariaExpanded
ariaExpanded:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2253
Inherited from
HTMLElementBase.ariaExpanded
ariaHasPopup
ariaHasPopup:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2255
Inherited from
HTMLElementBase.ariaHasPopup
ariaHidden
ariaHidden:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2257
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
Inherited from
HTMLElementBase.ariaKeyShortcuts
ariaLabel
ariaLabel:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2262
Inherited from
HTMLElementBase.ariaLabel
ariaLevel
ariaLevel:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2264
Inherited from
HTMLElementBase.ariaLevel
ariaLive
ariaLive:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2266
Inherited from
HTMLElementBase.ariaLive
ariaModal
ariaModal:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2268
Inherited from
HTMLElementBase.ariaModal
ariaMultiLine
ariaMultiLine:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2270
Inherited from
HTMLElementBase.ariaMultiLine
ariaMultiSelectable
ariaMultiSelectable:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2272
Inherited from
HTMLElementBase.ariaMultiSelectable
ariaOrientation
ariaOrientation:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2274
Inherited from
HTMLElementBase.ariaOrientation
ariaPlaceholder
ariaPlaceholder:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2276
Inherited from
HTMLElementBase.ariaPlaceholder
ariaPosInSet
ariaPosInSet:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2278
Inherited from
HTMLElementBase.ariaPosInSet
ariaPressed
ariaPressed:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2280
Inherited from
HTMLElementBase.ariaPressed
ariaReadOnly
ariaReadOnly:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2282
Inherited from
HTMLElementBase.ariaReadOnly
ariaRequired
ariaRequired:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2284
Inherited from
HTMLElementBase.ariaRequired
ariaRoleDescription
ariaRoleDescription:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2286
Inherited from
HTMLElementBase.ariaRoleDescription
ariaRowCount
ariaRowCount:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2288
Inherited from
HTMLElementBase.ariaRowCount
ariaRowIndex
ariaRowIndex:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2290
Inherited from
HTMLElementBase.ariaRowIndex
ariaRowSpan
ariaRowSpan:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2292
Inherited from
HTMLElementBase.ariaRowSpan
ariaSelected
ariaSelected:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2294
Inherited from
HTMLElementBase.ariaSelected
ariaSetSize
ariaSetSize:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2296
Inherited from
HTMLElementBase.ariaSetSize
ariaSort
ariaSort:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2298
Inherited from
HTMLElementBase.ariaSort
ariaValueMax
ariaValueMax:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2300
Inherited from
HTMLElementBase.ariaValueMax
ariaValueMin
ariaValueMin:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2302
Inherited from
HTMLElementBase.ariaValueMin
ariaValueNow
ariaValueNow:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2304
Inherited from
HTMLElementBase.ariaValueNow
ariaValueText
ariaValueText:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:2306
Inherited from
HTMLElementBase.ariaValueText
assignedSlot
readonlyassignedSlot:HTMLSlotElement
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:21074
Inherited from
HTMLElementBase.assignedSlot
ATTRIBUTE_NODE
readonlyATTRIBUTE_NODE:2
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15963
Inherited from
HTMLElementBase.ATTRIBUTE_NODE
attributes
readonlyattributes:NamedNodeMap
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7687
Inherited from
HTMLElementBase.attributes
attributeStyleMap
readonlyattributeStyleMap:StylePropertyMap
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7950
Inherited from
HTMLElementBase.attributeStyleMap
autocapitalize
autocapitalize:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10040
Inherited from
HTMLElementBase.autocapitalize
autofocus
autofocus:
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:11845
Inherited from
HTMLElementBase.autofocus
baseURI
readonlybaseURI:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15832
Returns node's node document's document base URL.
Inherited from
HTMLElementBase.baseURI
CDATA_SECTION_NODE
readonlyCDATA_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
readonlychildElementCount:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:16525
Inherited from
HTMLElementBase.childElementCount
childNodes
readonlychildNodes:NodeListOf<ChildNode>
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15838
Returns the children.
Inherited from
HTMLElementBase.childNodes
children
readonlychildren:HTMLCollection
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:16531
Returns the child elements.
Inherited from
HTMLElementBase.children
classList
readonlyclassList: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.
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.
Inherited from
HTMLElementBase.className
clientHeight
readonlyclientHeight:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7701
Inherited from
HTMLElementBase.clientHeight
clientLeft
readonlyclientLeft:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7703
Inherited from
HTMLElementBase.clientLeft
clientTop
readonlyclientTop:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7705
Inherited from
HTMLElementBase.clientTop
clientWidth
readonlyclientWidth:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7707
Inherited from
HTMLElementBase.clientWidth
COMMENT_NODE
readonlyCOMMENT_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
Inherited from
HTMLElementBase.contentEditable
dataset
readonlydataset:DOMStringMap
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:11847
Inherited from
HTMLElementBase.dataset
dir
dir:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10042
Inherited from
HTMLElementBase.dir
DOCUMENT_FRAGMENT_NODE
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
Inherited from
HTMLElementBase.draggable
ELEMENT_NODE
readonlyELEMENT_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
Inherited from
HTMLElementBase.enterKeyHint
ENTITY_NODE
readonlyENTITY_NODE:6
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15969
Inherited from
HTMLElementBase.ENTITY_NODE
ENTITY_REFERENCE_NODE
readonlyENTITY_REFERENCE_NODE:5
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15968
Inherited from
HTMLElementBase.ENTITY_REFERENCE_NODE
firstChild
readonlyfirstChild:ChildNode
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15844
Returns the first child.
Inherited from
HTMLElementBase.firstChild
firstElementChild
readonlyfirstElementChild:Element
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:16537
Returns the first child that is an element, and null otherwise.
Inherited from
HTMLElementBase.firstElementChild
hidden
hidden:
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10046
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.
Inherited from
HTMLElementBase.id
inert
inert:
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10048
Inherited from
HTMLElementBase.inert
innerHTML
innerHTML:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7715
Inherited from
HTMLElementBase.innerHTML
innerText
innerText:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10050
Inherited from
HTMLElementBase.innerText
inputMode
inputMode:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7961
Inherited from
HTMLElementBase.inputMode
isConnected
readonlyisConnected:boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15850
Returns true if node is connected and false otherwise.
Inherited from
HTMLElementBase.isConnected
isContentEditable
readonlyisContentEditable:boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7963
Inherited from
HTMLElementBase.isContentEditable
lang
lang:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10052
Inherited from
HTMLElementBase.lang
lastChild
readonlylastChild:ChildNode
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15856
Returns the last child.
Inherited from
HTMLElementBase.lastChild
lastElementChild
readonlylastElementChild:Element
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:16543
Returns the last child that is an element, and null otherwise.
Inherited from
HTMLElementBase.lastElementChild
localName
readonlylocalName:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7721
Returns the local name.
Inherited from
HTMLElementBase.localName
namespaceURI
readonlynamespaceURI:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7727
Returns the namespace.
Inherited from
HTMLElementBase.namespaceURI
nextElementSibling
readonlynextElementSibling: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.
Inherited from
HTMLElementBase.nextElementSibling
nextSibling
readonlynextSibling:ChildNode
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15862
Returns the next sibling.
Inherited from
HTMLElementBase.nextSibling
nodeName
readonlynodeName:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15868
Returns a string appropriate for the type of node.
Inherited from
HTMLElementBase.nodeName
nodeType
readonlynodeType:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15874
Returns the type of node.
Inherited from
HTMLElementBase.nodeType
nodeValue
nodeValue:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15876
Inherited from
HTMLElementBase.nodeValue
nonce?
optionalnonce:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:11849
Inherited from
HTMLElementBase.nonce
NOTATION_NODE
readonlyNOTATION_NODE:12
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15980
Inherited from
HTMLElementBase.NOTATION_NODE
offsetHeight
readonlyoffsetHeight:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10054
Inherited from
HTMLElementBase.offsetHeight
offsetLeft
readonlyoffsetLeft:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10056
Inherited from
HTMLElementBase.offsetLeft
offsetParent
readonlyoffsetParent:Element
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10058
Inherited from
HTMLElementBase.offsetParent
offsetTop
readonlyoffsetTop:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10060
Inherited from
HTMLElementBase.offsetTop
offsetWidth
readonlyoffsetWidth:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10062
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.
Returns
any
Inherited from
HTMLElementBase.onabort
onanimationcancel()
onanimationcancel: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9034
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
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
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
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
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
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
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.
Returns
any
Inherited from
HTMLElementBase.onblur
oncancel()
oncancel: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9055
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.
Returns
any
Inherited from
HTMLElementBase.oncanplay
oncanplaythrough()
oncanplaythrough: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9064
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.
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.
Returns
any
Inherited from
HTMLElementBase.onclick
onclose()
onclose: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9080
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
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.
Returns
any
Inherited from
HTMLElementBase.oncontextmenu
oncontextrestored()
oncontextrestored: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9091
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
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
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
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.
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.
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.
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.
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.ondragstart
ondrop()
ondrop: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9148
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.
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.
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
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.
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.
Returns
any
Inherited from
HTMLElementBase.onfocus
onformdata()
onformdata: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9185
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
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
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
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
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
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
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
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
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.
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.onloadstart
onlostpointercapture()
onlostpointercapture: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9243
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.
Returns
any
Inherited from
HTMLElementBase.onmousedown
onmouseenter()
onmouseenter: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9252
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
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.
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.onmouseup
onpaste()
onpaste: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9284
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.onplaying
onpointercancel()
onpointercancel: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9307
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
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
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
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
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
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
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
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.onreset
onresize()
onresize: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9344
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.
Returns
any
Inherited from
HTMLElementBase.onscroll
onscrollend()
onscrollend: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9353
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
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.
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.
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.
Returns
any
Inherited from
HTMLElementBase.onselect
onselectionchange()
onselectionchange: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9378
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
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
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.
Returns
any
Inherited from
HTMLElementBase.onstalled
onsubmit()
onsubmit: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9391
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.
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.
Returns
any
Inherited from
HTMLElementBase.ontimeupdate
ontoggle()
ontoggle: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9407
Parameters
this
GlobalEventHandlers
ev
Event
Returns
any
Inherited from
HTMLElementBase.ontoggle
ontouchcancel()?
optionalontouchcancel: (this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9409
Parameters
this
GlobalEventHandlers
ev
TouchEvent
Returns
any
Inherited from
HTMLElementBase.ontouchcancel
ontouchend()?
optionalontouchend: (this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9411
Parameters
this
GlobalEventHandlers
ev
TouchEvent
Returns
any
Inherited from
HTMLElementBase.ontouchend
ontouchmove()?
optionalontouchmove: (this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9413
Parameters
this
GlobalEventHandlers
ev
TouchEvent
Returns
any
Inherited from
HTMLElementBase.ontouchmove
ontouchstart()?
optionalontouchstart: (this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9415
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
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
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
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
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.
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.
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.
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.
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.
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.
Inherited from
HTMLElementBase.onwebkittransitionend
onwheel()
onwheel: (
this,ev) =>any
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:9463
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
Inherited from
HTMLElementBase.outerHTML
outerText
outerText:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10064
Inherited from
HTMLElementBase.outerText
ownerDocument
readonlyownerDocument:Document
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7734
Returns the node document. Returns null for documents.
Inherited from
HTMLElementBase.ownerDocument
parentElement
readonlyparentElement:HTMLElement
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15888
Returns the parent element.
Inherited from
HTMLElementBase.parentElement
parentNode
readonlyparentNode:ParentNode
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15894
Returns the parent.
Inherited from
HTMLElementBase.parentNode
part
readonlypart:DOMTokenList
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7736
Inherited from
HTMLElementBase.part
popover
popover:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10066
Inherited from
HTMLElementBase.popover
prefix
readonlyprefix:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7742
Returns the namespace prefix.
Inherited from
HTMLElementBase.prefix
previousElementSibling
readonlypreviousElementSibling: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.
Inherited from
HTMLElementBase.previousElementSibling
previousSibling
readonlypreviousSibling:ChildNode
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:15900
Returns the previous sibling.
Inherited from
HTMLElementBase.previousSibling
PROCESSING_INSTRUCTION_NODE
readonlyPROCESSING_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
readonlyscrollHeight:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7744
Inherited from
HTMLElementBase.scrollHeight
scrollLeft
scrollLeft:
number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7746
Inherited from
HTMLElementBase.scrollLeft
scrollTop
scrollTop:
number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7748
Inherited from
HTMLElementBase.scrollTop
scrollWidth
readonlyscrollWidth:number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7750
Inherited from
HTMLElementBase.scrollWidth
shadowRoot
readonlyshadowRoot: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.
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.
Inherited from
HTMLElementBase.slot
spellcheck
spellcheck:
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10068
Inherited from
HTMLElementBase.spellcheck
style
readonlystyle:CSSStyleDeclaration
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7952
Inherited from
HTMLElementBase.style
tabIndex
tabIndex:
number
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:11851
Inherited from
HTMLElementBase.tabIndex
tagName
readonlytagName:string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7768
Returns the HTML-uppercased qualified name.
Inherited from
HTMLElementBase.tagName
TEXT_NODE
readonlyTEXT_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
Inherited from
HTMLElementBase.textContent
title
title:
string
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10070
Inherited from
HTMLElementBase.title
translate
translate:
boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10072
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
Set Signature
set scene(
factory):void
Defined in: src/integrations/webcomponent.ts:122
Parameters
factory
Returns
void
observedAttributes
Get Signature
get
staticobservedAttributes():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.
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
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.
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
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
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.
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.
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
Returns
void
Inherited from
HTMLElementBase.blur
checkVisibility()
checkVisibility(
options?):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7776
Parameters
options?
CheckVisibilityOptions
Returns
boolean
Inherited from
HTMLElementBase.checkVisibility
click()
click():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10076
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.
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.
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.
Parameters
other
Node
Returns
number
Inherited from
HTMLElementBase.compareDocumentPosition
computedStyleMap()
computedStyleMap():
StylePropertyMapReadOnly
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7787
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.
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.
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
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
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.
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.
Returns
string[]
Inherited from
HTMLElementBase.getAttributeNames
getAttributeNode()
getAttributeNode(
qualifiedName):Attr
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7807
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
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.
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
Returns
DOMRect
Inherited from
HTMLElementBase.getBoundingClientRect
getClientRects()
getClientRects():
DOMRectList
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7813
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.
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
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
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
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.
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.
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.
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.
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.
Returns
boolean
Inherited from
HTMLElementBase.hasChildNodes
hasPointerCapture()
hasPointerCapture(
pointerId):boolean
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7853
Parameters
pointerId
number
Returns
boolean
Inherited from
HTMLElementBase.hasPointerCapture
hidePopover()
hidePopover():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10078
Returns
void
Inherited from
HTMLElementBase.hidePopover
insertAdjacentElement()
insertAdjacentElement(
where,element):Element
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:7855
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
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
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
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
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.
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
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
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
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.
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.
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.
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.
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.
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
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.
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.
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
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.
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
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
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.
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.
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.
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
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
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
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
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
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.
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
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
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.
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
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
Parameters
pointerId
number
Returns
void
Inherited from
HTMLElementBase.setPointerCapture
showPopover()
showPopover():
void
Defined in: docs/node_modules/typescript/lib/lib.dom.d.ts:10080
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.
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
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.
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>