Interface: HTMLElement
Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
Extends
Element
.ElementCSSInlineStyle
.ElementContentEditable
.GlobalEventHandlers
.HTMLOrSVGElement
Extended by
Properties
__evolv__
__evolv__:
MutateContext
Inherited from
accessKey
accessKey:
string
accessKeyLabel
readonly
accessKeyLabel:string
ariaAtomic
ariaAtomic:
null
|string
Inherited from
ariaAutoComplete
ariaAutoComplete:
null
|string
Inherited from
ariaBrailleLabel
ariaBrailleLabel:
null
|string
Inherited from
ariaBrailleRoleDescription
ariaBrailleRoleDescription:
null
|string
Inherited from
Element
.ariaBrailleRoleDescription
ariaBusy
ariaBusy:
null
|string
Inherited from
ariaChecked
ariaChecked:
null
|string
Inherited from
ariaColCount
ariaColCount:
null
|string
Inherited from
ariaColIndex
ariaColIndex:
null
|string
Inherited from
ariaColSpan
ariaColSpan:
null
|string
Inherited from
ariaCurrent
ariaCurrent:
null
|string
Inherited from
ariaDescription
ariaDescription:
null
|string
Inherited from
ariaDisabled
ariaDisabled:
null
|string
Inherited from
ariaExpanded
ariaExpanded:
null
|string
Inherited from
ariaHasPopup
ariaHasPopup:
null
|string
Inherited from
ariaHidden
ariaHidden:
null
|string
Inherited from
ariaInvalid
ariaInvalid:
null
|string
Inherited from
ariaKeyShortcuts
ariaKeyShortcuts:
null
|string
Inherited from
ariaLabel
ariaLabel:
null
|string
Inherited from
ariaLevel
ariaLevel:
null
|string
Inherited from
ariaLive
ariaLive:
null
|string
Inherited from
ariaModal
ariaModal:
null
|string
Inherited from
ariaMultiLine
ariaMultiLine:
null
|string
Inherited from
ariaMultiSelectable
ariaMultiSelectable:
null
|string
Inherited from
ariaOrientation
ariaOrientation:
null
|string
Inherited from
ariaPlaceholder
ariaPlaceholder:
null
|string
Inherited from
ariaPosInSet
ariaPosInSet:
null
|string
Inherited from
ariaPressed
ariaPressed:
null
|string
Inherited from
ariaReadOnly
ariaReadOnly:
null
|string
Inherited from
ariaRequired
ariaRequired:
null
|string
Inherited from
ariaRoleDescription
ariaRoleDescription:
null
|string
Inherited from
ariaRowCount
ariaRowCount:
null
|string
Inherited from
ariaRowIndex
ariaRowIndex:
null
|string
Inherited from
ariaRowSpan
ariaRowSpan:
null
|string
Inherited from
ariaSelected
ariaSelected:
null
|string
Inherited from
ariaSetSize
ariaSetSize:
null
|string
Inherited from
ariaSort
ariaSort:
null
|string
Inherited from
ariaValueMax
ariaValueMax:
null
|string
Inherited from
ariaValueMin
ariaValueMin:
null
|string
Inherited from
ariaValueNow
ariaValueNow:
null
|string
Inherited from
ariaValueText
ariaValueText:
null
|string
Inherited from
assignedSlot
readonly
assignedSlot:null
|HTMLSlotElement
Inherited from
ATTRIBUTE_NODE
readonly
ATTRIBUTE_NODE:2
Inherited from
attributes
readonly
attributes:NamedNodeMap
Inherited from
attributeStyleMap
readonly
attributeStyleMap:StylePropertyMap
Inherited from
ElementCSSInlineStyle.attributeStyleMap
autocapitalize
autocapitalize:
string
autofocus
autofocus:
boolean
Inherited from
HTMLOrSVGElement.autofocus
baseURI
readonly
baseURI:string
Returns node's node document's document base URL.
Inherited from
CDATA_SECTION_NODE
readonly
CDATA_SECTION_NODE:4
node is a CDATASection node.
Inherited from
childElementCount
readonly
childElementCount:number
Inherited from
childNodes
readonly
childNodes:NodeListOf
<ChildNode
>
Returns the children.
Inherited from
children
readonly
children:HTMLCollection
Returns the child elements.
Inherited from
classList
readonly
classList:DOMTokenList
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Inherited from
className
className:
string
Returns the value of element's class content attribute. Can be set to change it.
Inherited from
clientHeight
readonly
clientHeight:number
Inherited from
clientLeft
readonly
clientLeft:number
Inherited from
clientTop
readonly
clientTop:number
Inherited from
clientWidth
readonly
clientWidth:number
Inherited from
COMMENT_NODE
readonly
COMMENT_NODE:8
node is a Comment node.
Inherited from
contentEditable
contentEditable:
string
Inherited from
ElementContentEditable.contentEditable
dataset
readonly
dataset:DOMStringMap
Inherited from
HTMLOrSVGElement.dataset
dir
dir:
string
DOCUMENT_FRAGMENT_NODE
readonly
DOCUMENT_FRAGMENT_NODE:11
node is a DocumentFragment node.
Inherited from
Element
.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
readonly
DOCUMENT_NODE:9
node is a document.
Inherited from
DOCUMENT_POSITION_CONTAINED_BY
readonly
DOCUMENT_POSITION_CONTAINED_BY:16
Set when other is a descendant of node.
Inherited from
Element
.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
readonly
DOCUMENT_POSITION_CONTAINS:8
Set when other is an ancestor of node.
Inherited from
Element
.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
readonly
DOCUMENT_POSITION_DISCONNECTED:1
Set when node and other are not in the same tree.
Inherited from
Element
.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
readonly
DOCUMENT_POSITION_FOLLOWING:4
Set when other is following node.
Inherited from
Element
.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32
Inherited from
Element
.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
readonly
DOCUMENT_POSITION_PRECEDING:2
Set when other is preceding node.
Inherited from
Element
.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
readonly
DOCUMENT_TYPE_NODE:10
node is a doctype.
Inherited from
draggable
draggable:
boolean
ELEMENT_NODE
readonly
ELEMENT_NODE:1
node is an element.
Inherited from
enterKeyHint
enterKeyHint:
string
Inherited from
ElementContentEditable.enterKeyHint
ENTITY_NODE
readonly
ENTITY_NODE:6
Inherited from
ENTITY_REFERENCE_NODE
readonly
ENTITY_REFERENCE_NODE:5
Inherited from
firstChild
readonly
firstChild:null
|ChildNode
Returns the first child.
Inherited from
firstElementChild
readonly
firstElementChild:null
|Element
Returns the first child that is an element, and null otherwise.
Inherited from
hidden
hidden:
boolean
id
id:
string
Returns the value of element's id content attribute. Can be set to change it.
Inherited from
inert
inert:
boolean
innerHTML
innerHTML:
string
Inherited from
innerText
innerText:
string
inputMode
inputMode:
string
Inherited from
ElementContentEditable.inputMode
isConnected
readonly
isConnected:boolean
Returns true if node is connected and false otherwise.
Inherited from
isContentEditable
readonly
isContentEditable:boolean
Inherited from
ElementContentEditable.isContentEditable
lang
lang:
string
lastChild
readonly
lastChild:null
|ChildNode
Returns the last child.
Inherited from
lastElementChild
readonly
lastElementChild:null
|Element
Returns the last child that is an element, and null otherwise.
Inherited from
localName
readonly
localName:string
Returns the local name.
Inherited from
namespaceURI
readonly
namespaceURI:null
|string
Returns the namespace.
Inherited from
nextElementSibling
readonly
nextElementSibling:null
|Element
Returns the first following sibling that is an element, and null otherwise.
Inherited from
nextSibling
readonly
nextSibling:null
|ChildNode
Returns the next sibling.
Inherited from
nodeName
readonly
nodeName:string
Returns a string appropriate for the type of node.
Inherited from
nodeType
readonly
nodeType:number
Returns the type of node.
Inherited from
nodeValue
nodeValue:
null
|string
Inherited from
nonce?
optional
nonce:string
Inherited from
HTMLOrSVGElement.nonce
NOTATION_NODE
readonly
NOTATION_NODE:12
Inherited from
offsetHeight
readonly
offsetHeight:number
offsetLeft
readonly
offsetLeft:number
offsetParent
readonly
offsetParent:null
|Element
offsetTop
readonly
offsetTop:number
offsetWidth
readonly
offsetWidth:number
onabort
onabort:
null
| (this
,ev
) =>any
Fires when the user aborts the download.
Param
The event.
Inherited from
GlobalEventHandlers.onabort
onanimationcancel
onanimationcancel:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onanimationcancel
onanimationend
onanimationend:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onanimationend
onanimationiteration
onanimationiteration:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onanimationiteration
onanimationstart
onanimationstart:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onanimationstart
onauxclick
onauxclick:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onauxclick
onbeforeinput
onbeforeinput:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onbeforeinput
onbeforetoggle
onbeforetoggle:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onbeforetoggle
onblur
onblur:
null
| (this
,ev
) =>any
Fires when the object loses the input focus.
Param
The focus event.
Inherited from
GlobalEventHandlers.onblur
oncancel
oncancel:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncancel
oncanplay
oncanplay:
null
| (this
,ev
) =>any
Occurs when playback is possible, but would require further buffering.
Param
The event.
Inherited from
GlobalEventHandlers.oncanplay
oncanplaythrough
oncanplaythrough:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncanplaythrough
onchange
onchange:
null
| (this
,ev
) =>any
Fires when the contents of the object or selection have changed.
Param
The event.
Inherited from
GlobalEventHandlers.onchange
onclick
onclick:
null
| (this
,ev
) =>any
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
Inherited from
GlobalEventHandlers.onclick
onclose
onclose:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onclose
oncontextlost
oncontextlost:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncontextlost
oncontextmenu
oncontextmenu:
null
| (this
,ev
) =>any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Param
The mouse event.
Inherited from
GlobalEventHandlers.oncontextmenu
oncontextrestored
oncontextrestored:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncontextrestored
oncopy
oncopy:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncopy
oncuechange
oncuechange:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncuechange
oncut
oncut:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oncut
ondblclick
ondblclick:
null
| (this
,ev
) =>any
Fires when the user double-clicks the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.ondblclick
ondrag
ondrag:
null
| (this
,ev
) =>any
Fires on the source object continuously during a drag operation.
Param
The event.
Inherited from
GlobalEventHandlers.ondrag
ondragend
ondragend:
null
| (this
,ev
) =>any
Fires on the source object when the user releases the mouse at the close of a drag operation.
Param
The event.
Inherited from
GlobalEventHandlers.ondragend
ondragenter
ondragenter:
null
| (this
,ev
) =>any
Fires on the target element when the user drags the object to a valid drop target.
Param
The drag event.
Inherited from
GlobalEventHandlers.ondragenter
ondragleave
ondragleave:
null
| (this
,ev
) =>any
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Param
The drag event.
Inherited from
GlobalEventHandlers.ondragleave
ondragover
ondragover:
null
| (this
,ev
) =>any
Fires on the target element continuously while the user drags the object over a valid drop target.
Param
The event.
Inherited from
GlobalEventHandlers.ondragover
ondragstart
ondragstart:
null
| (this
,ev
) =>any
Fires on the source object when the user starts to drag a text selection or selected object.
Param
The event.
Inherited from
GlobalEventHandlers.ondragstart
ondrop
ondrop:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ondrop
ondurationchange
ondurationchange:
null
| (this
,ev
) =>any
Occurs when the duration attribute is updated.
Param
The event.
Inherited from
GlobalEventHandlers.ondurationchange
onemptied
onemptied:
null
| (this
,ev
) =>any
Occurs when the media element is reset to its initial state.
Param
The event.
Inherited from
GlobalEventHandlers.onemptied
onended
onended:
null
| (this
,ev
) =>any
Occurs when the end of playback is reached.
Param
The event
Inherited from
GlobalEventHandlers.onended
onerror
onerror:
OnErrorEventHandler
Fires when an error occurs during object loading.
Param
The event.
Inherited from
GlobalEventHandlers.onerror
onfocus
onfocus:
null
| (this
,ev
) =>any
Fires when the object receives focus.
Param
The event.
Inherited from
GlobalEventHandlers.onfocus
onformdata
onformdata:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onformdata
onfullscreenchange
onfullscreenchange:
null
| (this
,ev
) =>any
Inherited from
onfullscreenerror
onfullscreenerror:
null
| (this
,ev
) =>any
Inherited from
ongotpointercapture
ongotpointercapture:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ongotpointercapture
oninput
oninput:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oninput
oninvalid
oninvalid:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.oninvalid
onkeydown
onkeydown:
null
| (this
,ev
) =>any
Fires when the user presses a key.
Param
The keyboard event
Inherited from
GlobalEventHandlers.onkeydown
onkeypress
onkeypress:
null
| (this
,ev
) =>any
Fires when the user presses an alphanumeric key.
Param
The event.
Deprecated
Inherited from
GlobalEventHandlers.onkeypress
onkeyup
onkeyup:
null
| (this
,ev
) =>any
Fires when the user releases a key.
Param
The keyboard event
Inherited from
GlobalEventHandlers.onkeyup
onload
onload:
null
| (this
,ev
) =>any
Fires immediately after the browser loads the object.
Param
The event.
Inherited from
GlobalEventHandlers.onload
onloadeddata
onloadeddata:
null
| (this
,ev
) =>any
Occurs when media data is loaded at the current playback position.
Param
The event.
Inherited from
GlobalEventHandlers.onloadeddata
onloadedmetadata
onloadedmetadata:
null
| (this
,ev
) =>any
Occurs when the duration and dimensions of the media have been determined.
Param
The event.
Inherited from
GlobalEventHandlers.onloadedmetadata
onloadstart
onloadstart:
null
| (this
,ev
) =>any
Occurs when Internet Explorer begins looking for media data.
Param
The event.
Inherited from
GlobalEventHandlers.onloadstart
onlostpointercapture
onlostpointercapture:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onlostpointercapture
onmousedown
onmousedown:
null
| (this
,ev
) =>any
Fires when the user clicks the object with either mouse button.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmousedown
onmouseenter
onmouseenter:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onmouseenter
onmouseleave
onmouseleave:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onmouseleave
onmousemove
onmousemove:
null
| (this
,ev
) =>any
Fires when the user moves the mouse over the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmousemove
onmouseout
onmouseout:
null
| (this
,ev
) =>any
Fires when the user moves the mouse pointer outside the boundaries of the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmouseout
onmouseover
onmouseover:
null
| (this
,ev
) =>any
Fires when the user moves the mouse pointer into the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmouseover
onmouseup
onmouseup:
null
| (this
,ev
) =>any
Fires when the user releases a mouse button while the mouse is over the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmouseup
onpaste
onpaste:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpaste
onpause
onpause:
null
| (this
,ev
) =>any
Occurs when playback is paused.
Param
The event.
Inherited from
GlobalEventHandlers.onpause
onplay
onplay:
null
| (this
,ev
) =>any
Occurs when the play method is requested.
Param
The event.
Inherited from
GlobalEventHandlers.onplay
onplaying
onplaying:
null
| (this
,ev
) =>any
Occurs when the audio or video has started playing.
Param
The event.
Inherited from
GlobalEventHandlers.onplaying
onpointercancel
onpointercancel:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointercancel
onpointerdown
onpointerdown:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerdown
onpointerenter
onpointerenter:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerenter
onpointerleave
onpointerleave:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerleave
onpointermove
onpointermove:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointermove
onpointerout
onpointerout:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerout
onpointerover
onpointerover:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerover
onpointerup
onpointerup:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onpointerup
onprogress
onprogress:
null
| (this
,ev
) =>any
Occurs to indicate progress while downloading media data.
Param
The event.
Inherited from
GlobalEventHandlers.onprogress
onratechange
onratechange:
null
| (this
,ev
) =>any
Occurs when the playback rate is increased or decreased.
Param
The event.
Inherited from
GlobalEventHandlers.onratechange
onreset
onreset:
null
| (this
,ev
) =>any
Fires when the user resets a form.
Param
The event.
Inherited from
GlobalEventHandlers.onreset
onresize
onresize:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onresize
onscroll
onscroll:
null
| (this
,ev
) =>any
Fires when the user repositions the scroll box in the scroll bar on the object.
Param
The event.
Inherited from
GlobalEventHandlers.onscroll
onscrollend
onscrollend:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onsecuritypolicyviolation
onseeked
onseeked:
null
| (this
,ev
) =>any
Occurs when the seek operation ends.
Param
The event.
Inherited from
GlobalEventHandlers.onseeked
onseeking
onseeking:
null
| (this
,ev
) =>any
Occurs when the current playback position is moved.
Param
The event.
Inherited from
GlobalEventHandlers.onseeking
onselect
onselect:
null
| (this
,ev
) =>any
Fires when the current selection changes.
Param
The event.
Inherited from
GlobalEventHandlers.onselect
onselectionchange
onselectionchange:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onselectionchange
onselectstart
onselectstart:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onselectstart
onslotchange
onslotchange:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onslotchange
onstalled
onstalled:
null
| (this
,ev
) =>any
Occurs when the download has stopped.
Param
The event.
Inherited from
GlobalEventHandlers.onstalled
onsubmit
onsubmit:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onsubmit
onsuspend
onsuspend:
null
| (this
,ev
) =>any
Occurs if the load operation has been intentionally halted.
Param
The event.
Inherited from
GlobalEventHandlers.onsuspend
ontimeupdate
ontimeupdate:
null
| (this
,ev
) =>any
Occurs to indicate the current playback position.
Param
The event.
Inherited from
GlobalEventHandlers.ontimeupdate
ontoggle
ontoggle:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontoggle
ontouchcancel?
optional
ontouchcancel:null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontouchcancel
ontouchend?
optional
ontouchend:null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontouchend
ontouchmove?
optional
ontouchmove:null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontouchmove
ontouchstart?
optional
ontouchstart:null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontouchstart
ontransitioncancel
ontransitioncancel:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontransitioncancel
ontransitionend
ontransitionend:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontransitionend
ontransitionrun
ontransitionrun:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontransitionrun
ontransitionstart
ontransitionstart:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.ontransitionstart
onvolumechange
onvolumechange:
null
| (this
,ev
) =>any
Occurs when the volume is changed, or playback is muted or unmuted.
Param
The event.
Inherited from
GlobalEventHandlers.onvolumechange
onwaiting
onwaiting:
null
| (this
,ev
) =>any
Occurs when playback stops because the next frame of a video resource is not available.
Param
The event.
Inherited from
GlobalEventHandlers.onwaiting
onwebkitanimationend
onwebkitanimationend:
null
| (this
,ev
) =>any
Deprecated
This is a legacy alias of onanimationend
.
Inherited from
GlobalEventHandlers.onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationiteration:
null
| (this
,ev
) =>any
Deprecated
This is a legacy alias of onanimationiteration
.
Inherited from
GlobalEventHandlers.onwebkitanimationiteration
onwebkitanimationstart
onwebkitanimationstart:
null
| (this
,ev
) =>any
Deprecated
This is a legacy alias of onanimationstart
.
Inherited from
GlobalEventHandlers.onwebkitanimationstart
onwebkittransitionend
onwebkittransitionend:
null
| (this
,ev
) =>any
Deprecated
This is a legacy alias of ontransitionend
.
Inherited from
GlobalEventHandlers.onwebkittransitionend
onwheel
onwheel:
null
| (this
,ev
) =>any
Inherited from
GlobalEventHandlers.onwheel
outerHTML
outerHTML:
string
Inherited from
outerText
outerText:
string
ownerDocument
readonly
ownerDocument:Document
Returns the node document. Returns null for documents.
Inherited from
parentElement
readonly
parentElement:null
|HTMLElement
Returns the parent element.
Inherited from
parentNode
readonly
parentNode:null
|ParentNode
Returns the parent.
Inherited from
part
readonly
part:DOMTokenList
Inherited from
popover
popover:
null
|string
prefix
readonly
prefix:null
|string
Returns the namespace prefix.
Inherited from
previousElementSibling
readonly
previousElementSibling:null
|Element
Returns the first preceding sibling that is an element, and null otherwise.
Inherited from
Element
.previousElementSibling
previousSibling
readonly
previousSibling:null
|ChildNode
Returns the previous sibling.
Inherited from
PROCESSING_INSTRUCTION_NODE
readonly
PROCESSING_INSTRUCTION_NODE:7
node is a ProcessingInstruction node.
Inherited from
Element
.PROCESSING_INSTRUCTION_NODE
role
role:
null
|string
Inherited from
scrollHeight
readonly
scrollHeight:number
Inherited from
scrollLeft
scrollLeft:
number
Inherited from
scrollTop
scrollTop:
number
Inherited from
scrollWidth
readonly
scrollWidth:number
Inherited from
shadowRoot
readonly
shadowRoot:null
|ShadowRoot
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Inherited from
slot
slot:
string
Returns the value of element's slot content attribute. Can be set to change it.
Inherited from
spellcheck
spellcheck:
boolean
style
readonly
style:CSSStyleDeclaration
Inherited from
ElementCSSInlineStyle.style
tabIndex
tabIndex:
number
Inherited from
HTMLOrSVGElement.tabIndex
tagName
readonly
tagName:string
Returns the HTML-uppercased qualified name.
Inherited from
TEXT_NODE
readonly
TEXT_NODE:3
node is a Text node.
Inherited from
textContent
textContent:
null
|string
Inherited from
title
title:
string
translate
translate:
boolean
Methods
addEventListener()
Call Signature
addEventListener<
K
>(type
,listener
,options
?):void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementEventMap |
Parameters
Parameter | Type |
---|---|
type | K |
listener | (this , ev ) => any |
options ? | boolean | AddEventListenerOptions |
Returns
void
Overrides
Call Signature
addEventListener(
type
,listener
,options
?):void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Parameters
Parameter | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options ? | boolean | AddEventListenerOptions |
Returns
void
Overrides
after()
after(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
animate()
animate(
keyframes
,options
?):Animation
Parameters
Parameter | Type |
---|---|
keyframes | null | Keyframe [] | PropertyIndexedKeyframes |
options ? | number | KeyframeAnimationOptions |
Returns
Animation
Inherited from
append()
append(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
appendChild()
appendChild<
T
>(node
):T
Type Parameters
Type Parameter |
---|
T extends Node |
Parameters
Parameter | Type |
---|---|
node | T |
Returns
T
Inherited from
attachInternals()
attachInternals():
ElementInternals
Returns
ElementInternals
attachShadow()
attachShadow(
init
):ShadowRoot
Creates a shadow root for element and returns it.
Parameters
Parameter | Type |
---|---|
init | ShadowRootInit |
Returns
ShadowRoot
Inherited from
before()
before(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
blur()
blur():
void
Returns
void
Inherited from
HTMLOrSVGElement.blur
checkVisibility()
checkVisibility(
options
?):boolean
Parameters
Parameter | Type |
---|---|
options ? | CheckVisibilityOptions |
Returns
boolean
Inherited from
click()
click():
void
Returns
void
cloneNode()
cloneNode(
deep
?):Node
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Parameters
Parameter | Type |
---|---|
deep ? | boolean |
Returns
Node
Inherited from
closest()
Call Signature
closest<
K
>(selector
):null
|HTMLElementTagNameMap
[K
]
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selector | K |
Returns
null
| HTMLElementTagNameMap
[K
]
Inherited from
Call Signature
closest<
K
>(selector
):null
|SVGElementTagNameMap
[K
]
Type Parameters
Type Parameter |
---|
K extends keyof SVGElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selector | K |
Returns
null
| SVGElementTagNameMap
[K
]
Inherited from
Call Signature
closest<
K
>(selector
):null
|MathMLElementTagNameMap
[K
]
Type Parameters
Type Parameter |
---|
K extends keyof MathMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selector | K |
Returns
null
| MathMLElementTagNameMap
[K
]
Inherited from
Call Signature
closest<
E
>(selectors
):null
|E
Type Parameters
Type Parameter | Default type |
---|---|
E extends Element | Element |
Parameters
Parameter | Type |
---|---|
selectors | string |
Returns
null
| E
Inherited from
compareDocumentPosition()
compareDocumentPosition(
other
):number
Returns a bitmask indicating the position of other relative to node.
Parameters
Parameter | Type |
---|---|
other | Node |
Returns
number
Inherited from
Element
.compareDocumentPosition
computedStyleMap()
computedStyleMap():
StylePropertyMapReadOnly
Returns
StylePropertyMapReadOnly
Inherited from
contains()
contains(
other
):boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Parameters
Parameter | Type |
---|---|
other | null | Node |
Returns
boolean
Inherited from
dispatchEvent()
dispatchEvent(
event
):boolean
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
Parameter | Type |
---|---|
event | Event |
Returns
boolean
Inherited from
focus()
focus(
options
?):void
Parameters
Parameter | Type |
---|---|
options ? | FocusOptions |
Returns
void
Inherited from
HTMLOrSVGElement.focus
getAnimations()
getAnimations(
options
?):Animation
[]
Parameters
Parameter | Type |
---|---|
options ? | GetAnimationsOptions |
Returns
Animation
[]
Inherited from
getAttribute()
getAttribute(
qualifiedName
):null
|string
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
Returns
null
| string
Inherited from
getAttributeNames()
getAttributeNames():
string
[]
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns
string
[]
Inherited from
getAttributeNode()
getAttributeNode(
qualifiedName
):null
|Attr
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
Returns
null
| Attr
Inherited from
getAttributeNodeNS()
getAttributeNodeNS(
namespace
,localName
):null
|Attr
Parameters
Parameter | Type |
---|---|
namespace | null | string |
localName | string |
Returns
null
| Attr
Inherited from
getAttributeNS()
getAttributeNS(
namespace
,localName
):null
|string
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Parameters
Parameter | Type |
---|---|
namespace | null | string |
localName | string |
Returns
null
| string
Inherited from
getBoundingClientRect()
getBoundingClientRect():
DOMRect
Returns
DOMRect
Inherited from
getClientRects()
getClientRects():
DOMRectList
Returns
DOMRectList
Inherited from
getElementsByClassName()
getElementsByClassName(
classNames
):HTMLCollectionOf
<Element
>
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
Parameter | Type |
---|---|
classNames | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
Element
.getElementsByClassName
getElementsByTagName()
Call Signature
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Inherited from
Call Signature
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof SVGElementTagNameMap |
Parameters
Parameter | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Inherited from
Call Signature
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof MathMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Inherited from
Call Signature
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Parameter | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Deprecated
Inherited from
Call Signature
getElementsByTagName(
qualifiedName
):HTMLCollectionOf
<Element
>
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
getElementsByTagNameNS()
Call Signature
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<HTMLElement
>
Parameters
Parameter | Type |
---|---|
namespaceURI | "http://www.w3.org/1999/xhtml" |
localName | string |
Returns
HTMLCollectionOf
<HTMLElement
>
Inherited from
Element
.getElementsByTagNameNS
Call Signature
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<SVGElement
>
Parameters
Parameter | Type |
---|---|
namespaceURI | "http://www.w3.org/2000/svg" |
localName | string |
Returns
HTMLCollectionOf
<SVGElement
>
Inherited from
Element
.getElementsByTagNameNS
Call Signature
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<MathMLElement
>
Parameters
Parameter | Type |
---|---|
namespaceURI | "http://www.w3.org/1998/Math/MathML" |
localName | string |
Returns
HTMLCollectionOf
<MathMLElement
>
Inherited from
Element
.getElementsByTagNameNS
Call Signature
getElementsByTagNameNS(
namespace
,localName
):HTMLCollectionOf
<Element
>
Parameters
Parameter | Type |
---|---|
namespace | null | string |
localName | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
Element
.getElementsByTagNameNS
getHTML()
getHTML(
options
?):string
Parameters
Parameter | Type |
---|---|
options ? | GetHTMLOptions |
Returns
string
Inherited from
getRootNode()
getRootNode(
options
?):Node
Returns node's root.
Parameters
Parameter | Type |
---|---|
options ? | GetRootNodeOptions |
Returns
Node
Inherited from
hasAttribute()
hasAttribute(
qualifiedName
):boolean
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
Returns
boolean
Inherited from
hasAttributeNS()
hasAttributeNS(
namespace
,localName
):boolean
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Parameters
Parameter | Type |
---|---|
namespace | null | string |
localName | string |
Returns
boolean
Inherited from
hasAttributes()
hasAttributes():
boolean
Returns true if element has attributes, and false otherwise.
Returns
boolean
Inherited from
hasChildNodes()
hasChildNodes():
boolean
Returns whether node has children.
Returns
boolean
Inherited from
hasPointerCapture()
hasPointerCapture(
pointerId
):boolean
Parameters
Parameter | Type |
---|---|
pointerId | number |
Returns
boolean
Inherited from
hidePopover()
hidePopover():
void
Returns
void
insertAdjacentElement()
insertAdjacentElement(
where
,element
):null
|Element
Parameters
Parameter | Type |
---|---|
where | InsertPosition |
element | Element |
Returns
null
| Element
Inherited from
insertAdjacentHTML()
insertAdjacentHTML(
position
,string
):void
Parameters
Parameter | Type |
---|---|
position | InsertPosition |
string | string |
Returns
void
Inherited from
insertAdjacentText()
insertAdjacentText(
where
,data
):void
Parameters
Parameter | Type |
---|---|
where | InsertPosition |
data | string |
Returns
void
Inherited from
insertBefore()
insertBefore<
T
>(node
,child
):T
Type Parameters
Type Parameter |
---|
T extends Node |
Parameters
Parameter | Type |
---|---|
node | T |
child | null | Node |
Returns
T
Inherited from
isDefaultNamespace()
isDefaultNamespace(
namespace
):boolean
Parameters
Parameter | Type |
---|---|
namespace | null | string |
Returns
boolean
Inherited from
isEqualNode()
isEqualNode(
otherNode
):boolean
Returns whether node and otherNode have the same properties.
Parameters
Parameter | Type |
---|---|
otherNode | null | Node |
Returns
boolean
Inherited from
isSameNode()
isSameNode(
otherNode
):boolean
Parameters
Parameter | Type |
---|---|
otherNode | null | Node |
Returns
boolean
Inherited from
lookupNamespaceURI()
lookupNamespaceURI(
prefix
):null
|string
Parameters
Parameter | Type |
---|---|
prefix | null | string |
Returns
null
| string
Inherited from
lookupPrefix()
lookupPrefix(
namespace
):null
|string
Parameters
Parameter | Type |
---|---|
namespace | null | string |
Returns
null
| string
Inherited from
matches()
matches(
selectors
):boolean
Returns true if matching selectors against element's root yields element, and false otherwise.
Parameters
Parameter | Type |
---|---|
selectors | string |
Returns
boolean
Inherited from
normalize()
normalize():
void
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
prepend()
prepend(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
querySelector()
Call Signature
querySelector<
K
>(selectors
):null
|HTMLElementTagNameMap
[K
]
Returns the first element that is a descendant of node that matches selectors.
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
null
| HTMLElementTagNameMap
[K
]
Inherited from
Call Signature
querySelector<
K
>(selectors
):null
|SVGElementTagNameMap
[K
]
Type Parameters
Type Parameter |
---|
K extends keyof SVGElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
null
| SVGElementTagNameMap
[K
]
Inherited from
Call Signature
querySelector<
K
>(selectors
):null
|MathMLElementTagNameMap
[K
]
Type Parameters
Type Parameter |
---|
K extends keyof MathMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
null
| MathMLElementTagNameMap
[K
]
Inherited from
Call Signature
querySelector<
K
>(selectors
):null
|HTMLElementDeprecatedTagNameMap
[K
]
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
null
| HTMLElementDeprecatedTagNameMap
[K
]
Deprecated
Inherited from
Call Signature
querySelector<
E
>(selectors
):null
|E
Type Parameters
Type Parameter | Default type |
---|---|
E extends Element | Element |
Parameters
Parameter | Type |
---|---|
selectors | string |
Returns
null
| E
Inherited from
querySelectorAll()
Call Signature
querySelectorAll<
K
>(selectors
):NodeListOf
<HTMLElementTagNameMap
[K
]>
Returns all element descendants of node that match selectors.
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
NodeListOf
<HTMLElementTagNameMap
[K
]>
Inherited from
Call Signature
querySelectorAll<
K
>(selectors
):NodeListOf
<SVGElementTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof SVGElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
NodeListOf
<SVGElementTagNameMap
[K
]>
Inherited from
Call Signature
querySelectorAll<
K
>(selectors
):NodeListOf
<MathMLElementTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof MathMLElementTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
NodeListOf
<MathMLElementTagNameMap
[K
]>
Inherited from
Call Signature
querySelectorAll<
K
>(selectors
):NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementDeprecatedTagNameMap |
Parameters
Parameter | Type |
---|---|
selectors | K |
Returns
NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Deprecated
Inherited from
Call Signature
querySelectorAll<
E
>(selectors
):NodeListOf
<E
>
Type Parameters
Type Parameter | Default type |
---|---|
E extends Element | Element |
Parameters
Parameter | Type |
---|---|
selectors | string |
Returns
NodeListOf
<E
>
Inherited from
releasePointerCapture()
releasePointerCapture(
pointerId
):void
Parameters
Parameter | Type |
---|---|
pointerId | number |
Returns
void
Inherited from
remove()
remove():
void
Removes node.
Returns
void
Inherited from
removeAttribute()
removeAttribute(
qualifiedName
):void
Removes element's first attribute whose qualified name is qualifiedName.
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
Returns
void
Inherited from
removeAttributeNode()
removeAttributeNode(
attr
):Attr
Parameters
Parameter | Type |
---|---|
attr | Attr |
Returns
Attr
Inherited from
removeAttributeNS()
removeAttributeNS(
namespace
,localName
):void
Removes element's attribute whose namespace is namespace and local name is localName.
Parameters
Parameter | Type |
---|---|
namespace | null | string |
localName | string |
Returns
void
Inherited from
removeChild()
removeChild<
T
>(child
):T
Type Parameters
Type Parameter |
---|
T extends Node |
Parameters
Parameter | Type |
---|---|
child | T |
Returns
T
Inherited from
removeEventListener()
Call Signature
removeEventListener<
K
>(type
,listener
,options
?):void
Removes the event listener in target's event listener list with the same type, callback, and options.
Type Parameters
Type Parameter |
---|
K extends keyof HTMLElementEventMap |
Parameters
Parameter | Type |
---|---|
type | K |
listener | (this , ev ) => any |
options ? | boolean | EventListenerOptions |
Returns
void
Overrides
Call Signature
removeEventListener(
type
,listener
,options
?):void
Removes the event listener in target's event listener list with the same type, callback, and options.
Parameters
Parameter | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options ? | boolean | EventListenerOptions |
Returns
void
Overrides
replaceChild()
replaceChild<
T
>(node
,child
):T
Type Parameters
Type Parameter |
---|
T extends Node |
Parameters
Parameter | Type |
---|---|
node | Node |
child | T |
Returns
T
Inherited from
replaceChildren()
replaceChildren(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
replaceWith()
replaceWith(...
nodes
):void
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
Parameter | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
requestFullscreen()
requestFullscreen(
options
?):Promise
<void
>
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
Parameter | Type |
---|---|
options ? | FullscreenOptions |
Returns
Promise
<void
>
Inherited from
requestPointerLock()
requestPointerLock(
options
?):Promise
<void
>
Parameters
Parameter | Type |
---|---|
options ? | PointerLockOptions |
Returns
Promise
<void
>
Inherited from
scroll()
Call Signature
scroll(
options
?):void
Parameters
Parameter | Type |
---|---|
options ? | ScrollToOptions |
Returns
void
Inherited from
Call Signature
scroll(
x
,y
):void
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
scrollBy()
Call Signature
scrollBy(
options
?):void
Parameters
Parameter | Type |
---|---|
options ? | ScrollToOptions |
Returns
void
Inherited from
Call Signature
scrollBy(
x
,y
):void
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
scrollIntoView()
scrollIntoView(
arg
?):void
Parameters
Parameter | Type |
---|---|
arg ? | boolean | ScrollIntoViewOptions |
Returns
void
Inherited from
scrollTo()
Call Signature
scrollTo(
options
?):void
Parameters
Parameter | Type |
---|---|
options ? | ScrollToOptions |
Returns
void
Inherited from
Call Signature
scrollTo(
x
,y
):void
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
setAttribute()
setAttribute(
qualifiedName
,value
):void
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Parameters
Parameter | Type |
---|---|
qualifiedName | string |
value | string |
Returns
void
Inherited from
setAttributeNode()
setAttributeNode(
attr
):null
|Attr
Parameters
Parameter | Type |
---|---|
attr | Attr |
Returns
null
| Attr
Inherited from
setAttributeNodeNS()
setAttributeNodeNS(
attr
):null
|Attr
Parameters
Parameter | Type |
---|---|
attr | Attr |
Returns
null
| Attr
Inherited from
setAttributeNS()
setAttributeNS(
namespace
,qualifiedName
,value
):void
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Parameters
Parameter | Type |
---|---|
namespace | null | string |
qualifiedName | string |
value | string |
Returns
void
Inherited from
setHTMLUnsafe()
setHTMLUnsafe(
html
):void
Parameters
Parameter | Type |
---|---|
html | string |
Returns
void
Inherited from
setPointerCapture()
setPointerCapture(
pointerId
):void
Parameters
Parameter | Type |
---|---|
pointerId | number |
Returns
void
Inherited from
showPopover()
showPopover():
void
Returns
void
toggleAttribute()
toggleAttribute(
qualifiedName
,force
?):boolean
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
Parameter | Type |
---|---|
qualifiedName | string |
force ? | boolean |
Returns
boolean
Inherited from
togglePopover()
togglePopover(
force
?):boolean
Parameters
Parameter | Type |
---|---|
force ? | boolean |
Returns
boolean
webkitMatchesSelector()
webkitMatchesSelector(
selectors
):boolean
Parameters
Parameter | Type |
---|---|
selectors | string |
Returns
boolean
Deprecated
This is a legacy alias of matches
.