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.
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.
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.
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.
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.
Enables access to the contents of an HTML element.
- HTMLElement
- HTMLTemplateElement
ATTRIBUTE_NODE
CDATA_SECTION_NODE
COMMENT_NODE
DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
ELEMENT_NODE
ENTITY_NODE
ENTITY_REFERENCE_NODE
NOTATION_NODE
PROCESSING_INSTRUCTION_NODE
TEXT_NODE
accessKey
accessKeyLabel
ariaAtomic
ariaAutoComplete
ariaBusy
ariaChecked
ariaColCount
ariaColIndex
ariaColSpan
ariaCurrent
ariaDisabled
ariaExpanded
ariaHasPopup
ariaHidden
ariaInvalid
ariaKeyShortcuts
ariaLabel
ariaLevel
ariaLive
ariaModal
ariaMultiLine
ariaMultiSelectable
ariaOrientation
ariaPlaceholder
ariaPosInSet
ariaPressed
ariaReadOnly
ariaRequired
ariaRoleDescription
ariaRowCount
ariaRowIndex
ariaRowSpan
ariaSelected
ariaSetSize
ariaSort
ariaValueMax
ariaValueMin
ariaValueNow
ariaValueText
assignedSlot
attributeStyleMap
attributes
autocapitalize
autofocus
baseURI
childElementCount
childNodes
children
classList
className
clientHeight
clientLeft
clientTop
clientWidth
content
contentEditable
dataset
dir
draggable
enterKeyHint
firstChild
firstElementChild
hidden
id
inert
innerHTML
innerText
inputMode
isConnected
isContentEditable
lang
lastChild
lastElementChild
localName
namespaceURI
nextElementSibling
nextSibling
nodeName
nodeType
nodeValue
nonce?
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
onabort
onanimationcancel
onanimationend
onanimationiteration
onanimationstart
onauxclick
onbeforeinput
onbeforexrselect
onblur
oncancel
oncanplay
oncanplaythrough
onchange
onclick
onclose
oncontextmenu
oncopy
oncuechange
oncut
ondblclick
ondrag
ondragend
ondragenter
ondragleave
ondragover
ondragstart
ondrop
ondurationchange
onemptied
onended
onerror
onfocus
onformdata
onfullscreenchange
onfullscreenerror
ongotpointercapture
oninput
oninvalid
onkeydown
onkeypress
onkeyup
onload
onloadeddata
onloadedmetadata
onloadstart
onlostpointercapture
onmousedown
onmouseenter
onmouseleave
onmousemove
onmouseout
onmouseover
onmouseup
onpaste
onpause
onplay
onplaying
onpointercancel
onpointerdown
onpointerenter
onpointerleave
onpointermove
onpointerout
onpointerover
onpointerup
onprogress
onratechange
onreset
onresize
onscroll
onsecuritypolicyviolation
onseeked
onseeking
onselect
onselectionchange
onselectstart
onslotchange
onstalled
onsubmit
onsuspend
ontimeupdate
ontoggle
ontouchcancel?
ontouchend?
ontouchmove?
ontouchstart?
ontransitioncancel
ontransitionend
ontransitionrun
ontransitionstart
onvolumechange
onwaiting
onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationstart
onwebkittransitionend
onwheel
outerHTML
outerText
ownerDocument
parentElement
parentNode
part
prefix
previousElementSibling
previousSibling
role
scrollHeight
scrollLeft
scrollTop
scrollWidth
shadowRoot
slot
spellcheck
style
tabIndex
tagName
textContent
title
translate
addEventListener
after
animate
append
appendChild
attachInternals
attachShadow
before
blur
checkVisibility
click
cloneNode
closest
compareDocumentPosition
computedStyleMap
contains
dispatchEvent
focus
getAnimations
getAttribute
getAttributeNS
getAttributeNames
getAttributeNode
getAttributeNodeNS
getBoundingClientRect
getClientRects
getElementsByClassName
getElementsByTagName
getElementsByTagNameNS
getRootNode
hasAttribute
hasAttributeNS
hasAttributes
hasChildNodes
hasPointerCapture
insertAdjacentElement
insertAdjacentHTML
insertAdjacentText
insertBefore
isDefaultNamespace
isEqualNode
isSameNode
lookupNamespaceURI
lookupPrefix
matches
normalize
prepend
querySelector
querySelectorAll
releasePointerCapture
remove
removeAttribute
removeAttributeNS
removeAttributeNode
removeChild
removeEventListener
replaceChild
replaceChildren
replaceWith
requestFullscreen
requestPointerLock
scroll
scrollBy
scrollIntoView
scrollTo
setAttribute
setAttributeNS
setAttributeNode
setAttributeNodeNS
setPointerCapture
toggleAttribute
webkitMatchesSelector
NODE
ATTRIBUTE_NODE : 2
SECTION_NODE
CDATA_SECTION_NODE : 4
NODE
COMMENT_NODE : 8
FRAGMENT_NODE
DOCUMENT_FRAGMENT_NODE : 11
NODE
DOCUMENT_NODE : 9
POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINED_BY : 16
POSITION_CONTAINS
DOCUMENT_POSITION_CONTAINS : 8
POSITION_DISCONNECTED
DOCUMENT_POSITION_DISCONNECTED : 1
POSITION_FOLLOWING
DOCUMENT_POSITION_FOLLOWING : 4
POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : 32
POSITION_PRECEDING
DOCUMENT_POSITION_PRECEDING : 2
TYPE_NODE
DOCUMENT_TYPE_NODE : 10
NODE
ELEMENT_NODE : 1
NODE
ENTITY_NODE : 6
REFERENCE_NODE
ENTITY_REFERENCE_NODE : 5
NODE
NOTATION_NODE : 12
INSTRUCTION_NODE
PROCESSING_INSTRUCTION_NODE : 7
NODE
TEXT_NODE : 3
accessKey : string
KeyLabel
accessKeyLabel : string
ariaAtomic : string
ariaAutoComplete : string
ariaBusy : string
ariaChecked : string
ariaColCount : string
ariaColIndex : string
ariaColSpan : string
ariaCurrent : string
ariaDisabled : string
ariaExpanded : string
ariaHasPopup : string
ariaHidden : string
ariaInvalid : string
ariaKeyShortcuts : string
ariaLabel : string
ariaLevel : string
ariaLive : string
ariaModal : string
ariaMultiLine : string
ariaMultiSelectable : string
ariaOrientation : string
ariaPlaceholder : string
ariaPosInSet : string
ariaPressed : string
ariaReadOnly : string
ariaRequired : string
ariaRoleDescription : string
ariaRowCount : string
ariaRowIndex : string
ariaRowSpan : string
ariaSelected : string
ariaSetSize : string
ariaSort : string
ariaValueMax : string
ariaValueMin : string
ariaValueNow : string
ariaValueText : string
Slot
assignedSlot : HTMLSlotElement
StyleMap
attributeStyleMap : StylePropertyMap
attributes: NamedNodeMap
autocapitalize: string
autofocus: boolean
baseURI: string
ElementCount
childElementCount : number
Nodes
childNodes : NodeListOf<ChildNode>
children: HTMLCollection
List
classList : DOMTokenList
className : string
Height
clientHeight : number
Left
clientLeft : number
Top
clientTop : number
Width
clientWidth : number
content: DocumentFragment
contentEditable : string
dataset: DOMStringMap
dir: string
draggable: boolean
enterKeyHint : string
Child
firstChild : ChildNode
ElementChild
firstElementChild : Element
hidden: boolean
id: string
inert: boolean
innerHTML: string
innerText : string
inputMode : string
Connected
isConnected : boolean
ContentEditable
isContentEditable : boolean
lang: string
Child
lastChild : ChildNode
ElementChild
lastElementChild : Element
Name
localName : string
namespaceURI: string
ElementSibling
nextElementSibling : Element
Sibling
nextSibling : ChildNode
Name
nodeName : string
Type
nodeType : number
nodeValue : string
nonce?: string
Height
offsetHeight : number
Left
offsetLeft : number
Parent
offsetParent : Element
Top
offsetTop : number
Width
offsetWidth : number
onabort: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onanimationcancel: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onanimationend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onanimationiteration: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onanimationstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onauxclick: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onbeforeinput: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onbeforexrselect: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onblur: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncancel: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncanplay: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncanplaythrough: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onchange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onclick: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onclose: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncontextmenu: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncopy: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncuechange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oncut: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondblclick: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondrag: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondragend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondragenter: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondragleave: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondragover: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondragstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondrop: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ondurationchange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onemptied: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onended: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onerror: OnErrorEventHandlerNonNull
onfocus: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onformdata: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onfullscreenchange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onfullscreenerror: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ongotpointercapture: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oninput: ((this, ev) => any)
-
- (this, ev): any
-
-
-
oninvalid: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onkeydown: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onkeypress: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onkeyup: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onload: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onloadeddata: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onloadedmetadata: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onloadstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onlostpointercapture: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmousedown: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmouseenter: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmouseleave: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmousemove: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmouseout: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmouseover: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onmouseup: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpaste: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpause: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onplay: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onplaying: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointercancel: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerdown: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerenter: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerleave: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointermove: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerout: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerover: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onpointerup: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onprogress: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onratechange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onreset: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onresize: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onscroll: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onsecuritypolicyviolation: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onseeked: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onseeking: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onselect: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onselectionchange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onselectstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onslotchange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onstalled: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onsubmit: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onsuspend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontimeupdate: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontoggle: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontouchcancel?: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontouchend?: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontouchmove?: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontouchstart?: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontransitioncancel: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontransitionend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontransitionrun: ((this, ev) => any)
-
- (this, ev): any
-
-
-
ontransitionstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onvolumechange: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwaiting: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwebkitanimationend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwebkitanimationiteration: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwebkitanimationstart: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwebkittransitionend: ((this, ev) => any)
-
- (this, ev): any
-
-
-
onwheel: ((this, ev) => any)
-
- (this, ev): any
-
-
-
outerHTML: string
outerText : string
Document
ownerDocument : Document
Element
parentElement : HTMLElement
Node
parentNode : ParentNode
part: DOMTokenList
prefix: string
ElementSibling
previousElementSibling : Element
Sibling
previousSibling : ChildNode
role: string
Height
scrollHeight : number
scrollLeft : number
scrollTop : number
Width
scrollWidth : number
Root
shadowRoot : ShadowRoot
slot: string
spellcheck: boolean
style: CSSStyleDeclaration
tabIndex : number
Name
tagName : string
textContent : string
title: string
translate: boolean
- add
EventListener <K>(type, listener, options?): void
-
-
-
-
-
- (this, ev): any
-
-
-
-
- add
EventListener (type, listener, options?): void
-
-
-
-
- after(...nodes): void
-
-
- animate(keyframes, options?): Animation
-
-
-
- append(...nodes): void
-
-
- append
Child <T>(node): T
-
-
-
- attach
Internals (): ElementInternals
-
- attach
Shadow (init): ShadowRoot
-
-
- before(...nodes): void
-
-
- blur(): void
-
- check
Visibility (options?): boolean
-
-
- click(): void
-
- clone
Node (deep?): Node
-
-
- closest<K>(selector): HTMLElementTagNameMap[K]
-
-
-
- closest<K>(selector): SVGElementTagNameMap[K]
-
-
-
- closest<K>(selector): MathMLElementTagNameMap[K]
-
-
-
- closest<E>(selectors): E
-
-
-
- compare
DocumentPosition (other): number
-
-
- computed
StyleMap (): StylePropertyMapReadOnly
-
- contains(other): boolean
-
-
- dispatch
Event (event): boolean
-
-
- focus(options?): void
-
-
- get
Animations (options?): Animation[]
-
-
- get
Attribute (qualifiedName): string
-
-
- get
AttributeNS (namespace, localName): string
-
-
-
- get
AttributeNames (): string[]
-
- get
AttributeNode (qualifiedName): Attr
-
-
- get
AttributeNodeNS (namespace, localName): Attr
-
-
-
- get
BoundingClientRect (): DOMRect
-
- get
ClientRects (): DOMRectList
-
- get
ElementsByClassName (classNames): HTMLCollectionOf<Element>
-
-
- get
ElementsByTagName <K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>
-
-
-
- get
ElementsByTagName <K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>
-
-
-
- get
ElementsByTagName <K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>
-
-
-
- get
ElementsByTagName <K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
-
-
-
- get
ElementsByTagName (qualifiedName): HTMLCollectionOf<Element>
-
-
- get
ElementsByTagNameNS (namespaceURI, localName): HTMLCollectionOf<HTMLElement>
-
-
-
- get
ElementsByTagNameNS (namespaceURI, localName): HTMLCollectionOf<SVGElement>
-
-
-
- get
ElementsByTagNameNS (namespaceURI, localName): HTMLCollectionOf<MathMLElement>
-
-
-
- get
ElementsByTagNameNS (namespace, localName): HTMLCollectionOf<Element>
-
-
-
- get
RootNode (options?): Node
-
-
- has
Attribute (qualifiedName): boolean
-
-
- has
AttributeNS (namespace, localName): boolean
-
-
-
- has
Attributes (): boolean
-
- has
ChildNodes (): boolean
-
- has
PointerCapture (pointerId): boolean
-
-
- insert
AdjacentElement (where, element): Element
-
-
-
- insert
AdjacentHTML (position, text): void
-
-
-
- insert
AdjacentText (where, data): void
-
-
-
- insert
Before <T>(node, child): T
-
-
-
-
- is
DefaultNamespace (namespace): boolean
-
-
- is
EqualNode (otherNode): boolean
-
-
- is
SameNode (otherNode): boolean
-
-
- lookup
NamespaceURI (prefix): string
-
-
- lookup
Prefix (namespace): string
-
-
- matches(selectors): boolean
-
-
- normalize(): void
-
- prepend(...nodes): void
-
-
- query
Selector <K>(selectors): HTMLElementTagNameMap[K]
-
-
-
- query
Selector <K>(selectors): SVGElementTagNameMap[K]
-
-
-
- query
Selector <K>(selectors): MathMLElementTagNameMap[K]
-
-
-
- query
Selector <K>(selectors): HTMLElementDeprecatedTagNameMap[K]
-
-
-
- query
Selector <E>(selectors): E
-
-
-
- query
SelectorAll <K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>
-
-
-
- query
SelectorAll <K>(selectors): NodeListOf<SVGElementTagNameMap[K]>
-
-
-
- query
SelectorAll <K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>
-
-
-
- query
SelectorAll <K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
-
-
-
- query
SelectorAll <E>(selectors): NodeListOf<E>
-
-
-
- release
PointerCapture (pointerId): void
-
-
- remove(): void
-
- remove
Attribute (qualifiedName): void
-
-
- remove
AttributeNS (namespace, localName): void
-
-
-
- remove
AttributeNode (attr): Attr
-
-
- remove
Child <T>(child): T
-
-
-
- remove
EventListener <K>(type, listener, options?): void
-
-
-
-
-
- (this, ev): any
-
-
-
-
- remove
EventListener (type, listener, options?): void
-
-
-
-
- replace
Child <T>(node, child): T
-
-
-
-
- replace
Children (...nodes): void
-
-
- replace
With (...nodes): void
-
-
- request
Fullscreen (options?): Promise<void>
-
-
- request
PointerLock (): void
-
- scroll(options?): void
-
-
- scroll(x, y): void
-
-
-
- scroll
By (options?): void
-
-
- scroll
By (x, y): void
-
-
-
- scroll
IntoView (arg?): void
-
-
- scroll
To (options?): void
-
-
- scroll
To (x, y): void
-
-
-
- set
Attribute (qualifiedName, value): void
-
-
-
- set
AttributeNS (namespace, qualifiedName, value): void
-
-
-
-
- set
AttributeNode (attr): Attr
-
-
- set
AttributeNodeNS (attr): Attr
-
-
- set
PointerCapture (pointerId): void
-
-
- toggle
Attribute (qualifiedName, force?): boolean
-
-
-
- webkit
MatchesSelector (selectors): boolean
-
-
- ATTRIBUTE_
NODE
- CDATA_
SECTION_NODE
- COMMENT_
NODE
- DOCUMENT_
FRAGMENT_NODE
- DOCUMENT_
NODE
- DOCUMENT_
POSITION_CONTAINED_BY
- DOCUMENT_
POSITION_CONTAINS
- DOCUMENT_
POSITION_DISCONNECTED
- DOCUMENT_
POSITION_FOLLOWING
- DOCUMENT_
POSITION_IMPLEMENTATION_SPECIFIC
- DOCUMENT_
POSITION_PRECEDING
- DOCUMENT_
TYPE_NODE
- ELEMENT_
NODE
- ENTITY_
NODE
- ENTITY_
REFERENCE_NODE
- NOTATION_
NODE
- PROCESSING_
INSTRUCTION_NODE
- TEXT_
NODE
- access
Key
- access
KeyLabel
- aria
Atomic
- aria
AutoComplete
- aria
Busy
- aria
Checked
- aria
ColCount
- aria
ColIndex
- aria
ColSpan
- aria
Current
- aria
Disabled
- aria
Expanded
- aria
HasPopup
- aria
Hidden
- aria
Invalid
- aria
KeyShortcuts
- aria
Label
- aria
Level
- aria
Live
- aria
Modal
- aria
MultiLine
- aria
MultiSelectable
- aria
Orientation
- aria
Placeholder
- aria
PosInSet
- aria
Pressed
- aria
ReadOnly
- aria
Required
- aria
RoleDescription
- aria
RowCount
- aria
RowIndex
- aria
RowSpan
- aria
Selected
- aria
SetSize
- aria
Sort
- aria
ValueMax
- aria
ValueMin
- aria
ValueNow
- aria
ValueText
- assigned
Slot
- attribute
StyleMap
- attributes
- autocapitalize
- autofocus
- baseURI
- child
ElementCount
- child
Nodes
- children
- class
List
- class
Name
- client
Height
- client
Left
- client
Top
- client
Width
- content
- content
Editable
- dataset
- dir
- draggable
- enter
KeyHint
- first
Child
- first
ElementChild
- hidden
- id
- inert
- innerHTML
- inner
Text
- input
Mode
- is
Connected
- is
ContentEditable
- lang
- last
Child
- last
ElementChild
- local
Name
- namespaceURI
- next
ElementSibling
- next
Sibling
- node
Name
- node
Type
- node
Value
- nonce
- offset
Height
- offset
Left
- offset
Parent
- offset
Top
- offset
Width
- onabort
- onanimationcancel
- onanimationend
- onanimationiteration
- onanimationstart
- onauxclick
- onbeforeinput
- onbeforexrselect
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncopy
- oncuechange
- oncut
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- onformdata
- onfullscreenchange
- onfullscreenerror
- ongotpointercapture
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadstart
- onlostpointercapture
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpaste
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onprogress
- onratechange
- onreset
- onresize
- onscroll
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onselectionchange
- onselectstart
- onslotchange
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvolumechange
- onwaiting
- onwebkitanimationend
- onwebkitanimationiteration
- onwebkitanimationstart
- onwebkittransitionend
- onwheel
- outerHTML
- outer
Text
- owner
Document
- parent
Element
- parent
Node
- part
- prefix
- previous
ElementSibling
- previous
Sibling
- role
- scroll
Height
- scroll
Left
- scroll
Top
- scroll
Width
- shadow
Root
- slot
- spellcheck
- style
- tab
Index
- tag
Name
- text
Content
- title
- translate
- add
EventListener
- after
- animate
- append
- append
Child
- attach
Internals
- attach
Shadow
- before
- blur
- check
Visibility
- click
- clone
Node
- closest
- compare
DocumentPosition
- computed
StyleMap
- contains
- dispatch
Event
- focus
- get
Animations
- get
Attribute
- get
AttributeNS
- get
AttributeNames
- get
AttributeNode
- get
AttributeNodeNS
- get
BoundingClientRect
- get
ClientRects
- get
ElementsByClassName
- get
ElementsByTagName
- get
ElementsByTagNameNS
- get
RootNode
- has
Attribute
- has
AttributeNS
- has
Attributes
- has
ChildNodes
- has
PointerCapture
- insert
AdjacentElement
- insert
AdjacentHTML
- insert
AdjacentText
- insert
Before
- is
DefaultNamespace
- is
EqualNode
- is
SameNode
- lookup
NamespaceURI
- lookup
Prefix
- matches
- normalize
- prepend
- query
Selector
- query
SelectorAll
- release
PointerCapture
- remove
- remove
Attribute
- remove
AttributeNS
- remove
AttributeNode
- remove
Child
- remove
EventListener
- replace
Child
- replace
Children
- replace
With
- request
Fullscreen
- request
PointerLock
- scroll
- scroll
By
- scroll
IntoView
- scroll
To
- set
Attribute
- set
AttributeNS
- set
AttributeNode
- set
AttributeNodeNS
- set
PointerCapture
- toggle
Attribute
- webkit
MatchesSelector
MDN Reference
Hierarchy
Index
Properties
Methods
Properties
Readonly
ATTRIBUTE_Readonly
CDATA_node is a CDATASection node.
Readonly
COMMENT_node is a Comment node.
Readonly
DOCUMENT_node is a DocumentFragment node.
Readonly
DOCUMENT_node is a document.
Readonly
DOCUMENT_Set when other is a descendant of node.
Readonly
DOCUMENT_Set when other is an ancestor of node.
Readonly
DOCUMENT_Set when node and other are not in the same tree.
Readonly
DOCUMENT_Set when other is following node.
Readonly
DOCUMENT_Readonly
DOCUMENT_Set when other is preceding node.
Readonly
DOCUMENT_node is a doctype.
Readonly
ELEMENT_node is an element.
Readonly
ENTITY_Readonly
ENTITY_Readonly
NOTATION_Readonly
PROCESSING_node is a ProcessingInstruction node.
Readonly
TEXT_node is a Text node.
accessKey
MDN Reference
Readonly
accessMDN Reference
ariaAtomic
MDN Reference
ariaAutoComplete
MDN Reference
ariaBusy
MDN Reference
ariaChecked
MDN Reference
ariaColCount
MDN Reference
ariaColIndex
MDN Reference
ariaColSpan
MDN Reference
ariaCurrent
MDN Reference
ariaDisabled
MDN Reference
ariaExpanded
MDN Reference
ariaHasPopup
MDN Reference
ariaHidden
MDN Reference
ariaInvalid
ariaKeyShortcuts
MDN Reference
ariaLabel
MDN Reference
ariaLevel
MDN Reference
ariaLive
MDN Reference
ariaModal
MDN Reference
ariaMultiLine
MDN Reference
ariaMultiSelectable
MDN Reference
ariaOrientation
MDN Reference
ariaPlaceholder
MDN Reference
ariaPosInSet
MDN Reference
ariaPressed
MDN Reference
ariaReadOnly
MDN Reference
ariaRequired
MDN Reference
ariaRoleDescription
MDN Reference
ariaRowCount
MDN Reference
ariaRowIndex
MDN Reference
ariaRowSpan
MDN Reference
ariaSelected
MDN Reference
ariaSetSize
MDN Reference
ariaSort
MDN Reference
ariaValueMax
MDN Reference
ariaValueMin
MDN Reference
ariaValueNow
MDN Reference
ariaValueText
MDN Reference
Readonly
assignedMDN Reference
Readonly
attributeReadonly
attributesMDN Reference
autocapitalize
autofocus
Readonly
baseURIReturns node's node document's document base URL.
MDN Reference
Readonly
childMDN Reference
Readonly
childReturns the children.
MDN Reference
Readonly
childrenReturns the child elements.
MDN Reference
Readonly
classAllows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
MDN Reference
className
Returns the value of element's class content attribute. Can be set to change it.
MDN Reference
Readonly
clientMDN Reference
Readonly
clientMDN Reference
Readonly
clientMDN Reference
Readonly
clientMDN Reference
Readonly
contentReturns the template contents (a DocumentFragment).
MDN Reference
contentEditable
MDN Reference
Readonly
datasetMDN Reference
dir
MDN Reference
draggable
MDN Reference
enterKeyHint
MDN Reference
Readonly
firstReturns the first child.
MDN Reference
Readonly
firstReturns the first child that is an element, and null otherwise.
MDN Reference
hidden
MDN Reference
id
Returns the value of element's id content attribute. Can be set to change it.
MDN Reference
inert
MDN Reference
innerHTML
MDN Reference
innerText
MDN Reference
inputMode
MDN Reference
Readonly
isReturns true if node is connected and false otherwise.
MDN Reference
Readonly
isMDN Reference
lang
MDN Reference
Readonly
lastReturns the last child.
MDN Reference
Readonly
lastReturns the last child that is an element, and null otherwise.
MDN Reference
Readonly
localReturns the local name.
MDN Reference
Readonly
namespaceURIReturns the namespace.
MDN Reference
Readonly
nextReturns the first following sibling that is an element, and null otherwise.
MDN Reference
Readonly
nextReturns the next sibling.
MDN Reference
Readonly
nodeReturns a string appropriate for the type of node.
MDN Reference
Readonly
nodeReturns the type of node.
MDN Reference
nodeValue
MDN Reference
Optional
nonceMDN Reference
Readonly
offsetMDN Reference
Readonly
offsetMDN Reference
Readonly
offsetMDN Reference
Readonly
offsetMDN Reference
Readonly
offsetMDN Reference
onabort
Type declaration
Fires when the user aborts the download.
Parameters
this: GlobalEventHandlers
ev: UIEvent
The event.
MDN Reference
Returns any
onanimationcancel
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationend
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationiteration
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationstart
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onauxclick
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onbeforeinput
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: InputEvent
Returns any
onbeforexrselect
Type declaration
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
onblur
Type declaration
Fires when the object loses the input focus.
Parameters
this: GlobalEventHandlers
ev: FocusEvent
The focus event.
MDN Reference
Returns any
oncancel
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncanplay
Type declaration
Occurs when playback is possible, but would require further buffering.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
oncanplaythrough
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onchange
Type declaration
Fires when the contents of the object or selection have changed.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onclick
Type declaration
Fires when the user clicks the left mouse button on the object
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onclose
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncontextmenu
Type declaration
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
oncopy
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: ClipboardEvent
Returns any
oncuechange
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncut
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: ClipboardEvent
Returns any
ondblclick
Type declaration
Fires when the user double-clicks the object.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
ondrag
Type declaration
Fires on the source object continuously during a drag operation.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
MDN Reference
Returns any
ondragend
Type declaration
Fires on the source object when the user releases the mouse at the close of a drag operation.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
MDN Reference
Returns any
ondragenter
Type declaration
Fires on the target element when the user drags the object to a valid drop target.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The drag event.
MDN Reference
Returns any
ondragleave
Type declaration
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The drag event.
MDN Reference
Returns any
ondragover
Type declaration
Fires on the target element continuously while the user drags the object over a valid drop target.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
MDN Reference
Returns any
ondragstart
Type declaration
Fires on the source object when the user starts to drag a text selection or selected object.
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
MDN Reference
Returns any
ondrop
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: DragEvent
Returns any
ondurationchange
Type declaration
Occurs when the duration attribute is updated.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onemptied
Type declaration
Occurs when the media element is reset to its initial state.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onended
Type declaration
Occurs when the end of playback is reached.
Parameters
this: GlobalEventHandlers
ev: Event
The event
MDN Reference
Returns any
onerror
Fires when an error occurs during object loading.
Param
The event.
MDN Reference
onfocus
Type declaration
Fires when the object receives focus.
Parameters
this: GlobalEventHandlers
ev: FocusEvent
The event.
MDN Reference
Returns any
onformdata
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: FormDataEvent
Returns any
onfullscreenchange
Type declaration
MDN Reference
Parameters
this: Element
ev: Event
Returns any
onfullscreenerror
Type declaration
MDN Reference
Parameters
this: Element
ev: Event
Returns any
ongotpointercapture
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
oninput
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oninvalid
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onkeydown
Type declaration
Fires when the user presses a key.
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The keyboard event
MDN Reference
Returns any
onkeypress
Type declaration
Fires when the user presses an alphanumeric key.
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The event.
Returns any
Deprecated
MDN Reference
onkeyup
Type declaration
Fires when the user releases a key.
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The keyboard event
MDN Reference
Returns any
onload
Type declaration
Fires immediately after the browser loads the object.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onloadeddata
Type declaration
Occurs when media data is loaded at the current playback position.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onloadedmetadata
Type declaration
Occurs when the duration and dimensions of the media have been determined.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onloadstart
Type declaration
Occurs when Internet Explorer begins looking for media data.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onlostpointercapture
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onmousedown
Type declaration
Fires when the user clicks the object with either mouse button.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onmouseenter
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onmouseleave
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onmousemove
Type declaration
Fires when the user moves the mouse over the object.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onmouseout
Type declaration
Fires when the user moves the mouse pointer outside the boundaries of the object.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onmouseover
Type declaration
Fires when the user moves the mouse pointer into the object.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onmouseup
Type declaration
Fires when the user releases a mouse button while the mouse is over the object.
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
MDN Reference
Returns any
onpaste
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: ClipboardEvent
Returns any
onpause
Type declaration
Occurs when playback is paused.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onplay
Type declaration
Occurs when the play method is requested.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onplaying
Type declaration
Occurs when the audio or video has started playing.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onpointercancel
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerdown
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerenter
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerleave
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointermove
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerout
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerover
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerup
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onprogress
Type declaration
Occurs to indicate progress while downloading media data.
Parameters
this: GlobalEventHandlers
ev: ProgressEvent<EventTarget>
The event.
MDN Reference
Returns any
onratechange
Type declaration
Occurs when the playback rate is increased or decreased.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onreset
Type declaration
Fires when the user resets a form.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onresize
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: UIEvent
Returns any
onscroll
Type declaration
Fires when the user repositions the scroll box in the scroll bar on the object.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onsecuritypolicyviolation
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: SecurityPolicyViolationEvent
Returns any
onseeked
Type declaration
Occurs when the seek operation ends.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onseeking
Type declaration
Occurs when the current playback position is moved.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onselect
Type declaration
Fires when the current selection changes.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onselectionchange
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onselectstart
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onslotchange
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onstalled
Type declaration
Occurs when the download has stopped.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onsubmit
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: SubmitEvent
Returns any
onsuspend
Type declaration
Occurs if the load operation has been intentionally halted.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
ontimeupdate
Type declaration
Occurs to indicate the current playback position.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
ontoggle
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Optional
ontouchcancelType declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optional
ontouchendType declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optional
ontouchmoveType declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optional
ontouchstartType declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
ontransitioncancel
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionend
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionrun
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionstart
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
onvolumechange
Type declaration
Occurs when the volume is changed, or playback is muted or unmuted.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onwaiting
Type declaration
Occurs when playback stops because the next frame of a video resource is not available.
Parameters
this: GlobalEventHandlers
ev: Event
The event.
MDN Reference
Returns any
onwebkitanimationend
Type declaration
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Deprecated
This is a legacy alias of
onanimationend
.MDN Reference
onwebkitanimationiteration
Type declaration
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Deprecated
This is a legacy alias of
onanimationiteration
.MDN Reference
onwebkitanimationstart
Type declaration
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Deprecated
This is a legacy alias of
onanimationstart
.MDN Reference
onwebkittransitionend
Type declaration
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Deprecated
This is a legacy alias of
ontransitionend
.MDN Reference
onwheel
Type declaration
MDN Reference
Parameters
this: GlobalEventHandlers
ev: WheelEvent
Returns any
outerHTML
MDN Reference
outerText
MDN Reference
Readonly
ownerReadonly
parentReturns the parent element.
MDN Reference
Readonly
parentReturns the parent.
MDN Reference
Readonly
partMDN Reference
Readonly
prefixReturns the namespace prefix.
MDN Reference
Readonly
previousReturns the first preceding sibling that is an element, and null otherwise.
MDN Reference
Readonly
previousReturns the previous sibling.
MDN Reference
role
Readonly
scrollMDN Reference
scrollLeft
MDN Reference
scrollTop
MDN Reference
Readonly
scrollMDN Reference
Readonly
shadowReturns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
MDN Reference
slot
Returns the value of element's slot content attribute. Can be set to change it.
MDN Reference
spellcheck
MDN Reference
Readonly
styleMDN Reference
tabIndex
MDN Reference
Readonly
tagReturns the HTML-uppercased qualified name.
MDN Reference
textContent
MDN Reference
title
MDN Reference
translate
Methods
addEventListener
Type Parameters
K extends keyof HTMLElementEventMap
Parameters
type: K
listener: ((this, ev) => any)
Parameters
this: HTMLTemplateElement
ev: HTMLElementEventMap[K]
Returns any
Optional
options: boolean | AddEventListenerOptionsReturns void
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional
options: boolean | AddEventListenerOptionsReturns void
after
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
animate
MDN Reference
Parameters
keyframes: PropertyIndexedKeyframes | Keyframe[]
Optional
options: number | KeyframeAnimationOptionsReturns Animation
append
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
appendChild
MDN Reference
Type Parameters
T extends Node
Parameters
node: T
Returns T
attachInternals
MDN Reference
Returns ElementInternals
attachShadow
Creates a shadow root for element and returns it.
MDN Reference
Parameters
init: ShadowRootInit
Returns ShadowRoot
before
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
blur
MDN Reference
Returns void
checkVisibility
Parameters
Optional
options: CheckVisibilityOptionsReturns boolean
click
MDN Reference
Returns void
cloneNode
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
MDN Reference
Parameters
Optional
deep: booleanReturns Node
closest
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
MDN Reference
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
selector: K
Returns HTMLElementTagNameMap[K]
Type Parameters
K extends keyof SVGElementTagNameMap
Parameters
selector: K
Returns SVGElementTagNameMap[K]
Type Parameters
K extends keyof MathMLElementTagNameMap
Parameters
selector: K
Returns MathMLElementTagNameMap[K]
Type Parameters
E extends Element = Element
Parameters
selectors: string
Returns E
compareDocumentPosition
Returns a bitmask indicating the position of other relative to node.
MDN Reference
Parameters
other: Node
Returns number
computedStyleMap
MDN Reference
Returns StylePropertyMapReadOnly
contains
Returns true if other is an inclusive descendant of node, and false otherwise.
MDN Reference
Parameters
other: Node
Returns boolean
dispatchEvent
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
MDN Reference
Parameters
event: Event
Returns boolean
focus
MDN Reference
Parameters
Optional
options: FocusOptionsReturns void
getAnimations
MDN Reference
Parameters
Optional
options: GetAnimationsOptionsReturns Animation[]
getAttribute
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
MDN Reference
Parameters
qualifiedName: string
Returns string
getAttributeNS
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
MDN Reference
Parameters
namespace: string
localName: string
Returns string
getAttributeNames
Returns the qualified names of all element's attributes. Can contain duplicates.
MDN Reference
Returns string[]
getAttributeNode
MDN Reference
Parameters
qualifiedName: string
Returns Attr
getAttributeNodeNS
MDN Reference
Parameters
namespace: string
localName: string
Returns Attr
getBoundingClientRect
MDN Reference
Returns DOMRect
getClientRects
MDN Reference
Returns DOMRectList
getElementsByClassName
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
MDN Reference
Parameters
classNames: string
Returns HTMLCollectionOf<Element>
getElementsByTagName
MDN Reference
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<HTMLElementTagNameMap[K]>
Type Parameters
K extends keyof SVGElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<SVGElementTagNameMap[K]>
Type Parameters
K extends keyof MathMLElementTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<MathMLElementTagNameMap[K]>
Type Parameters
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
qualifiedName: K
Returns HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Deprecated
Parameters
qualifiedName: string
Returns HTMLCollectionOf<Element>
getElementsByTagNameNS
MDN Reference
Parameters
namespaceURI: "http://www.w3.org/1999/xhtml"
localName: string
Returns HTMLCollectionOf<HTMLElement>
Parameters
namespaceURI: "http://www.w3.org/2000/svg"
localName: string
Returns HTMLCollectionOf<SVGElement>
Parameters
namespaceURI: "http://www.w3.org/1998/Math/MathML"
localName: string
Returns HTMLCollectionOf<MathMLElement>
Parameters
namespace: string
localName: string
Returns HTMLCollectionOf<Element>
getRootNode
Returns node's root.
MDN Reference
Parameters
Optional
options: GetRootNodeOptionsReturns Node
hasAttribute
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
MDN Reference
Parameters
qualifiedName: string
Returns boolean
hasAttributeNS
Returns true if element has an attribute whose namespace is namespace and local name is localName.
MDN Reference
Parameters
namespace: string
localName: string
Returns boolean
hasAttributes
Returns true if element has attributes, and false otherwise.
MDN Reference
Returns boolean
hasChildNodes
Returns whether node has children.
MDN Reference
Returns boolean
hasPointerCapture
MDN Reference
Parameters
pointerId: number
Returns boolean
insertAdjacentElement
MDN Reference
Parameters
where: InsertPosition
element: Element
Returns Element
insertAdjacentHTML
MDN Reference
Parameters
position: InsertPosition
text: string
Returns void
insertAdjacentText
MDN Reference
Parameters
where: InsertPosition
data: string
Returns void
insertBefore
MDN Reference
Type Parameters
T extends Node
Parameters
node: T
child: Node
Returns T
isDefaultNamespace
MDN Reference
Parameters
namespace: string
Returns boolean
isEqualNode
Returns whether node and otherNode have the same properties.
MDN Reference
Parameters
otherNode: Node
Returns boolean
isSameNode
MDN Reference
Parameters
otherNode: Node
Returns boolean
lookupNamespaceURI
MDN Reference
Parameters
prefix: string
Returns string
lookupPrefix
MDN Reference
Parameters
namespace: string
Returns string
matches
Returns true if matching selectors against element's root yields element, and false otherwise.
MDN Reference
Parameters
selectors: string
Returns boolean
normalize
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
MDN Reference
Returns void
prepend
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
querySelector
Returns the first element that is a descendant of node that matches selectors.
MDN Reference
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
selectors: K
Returns HTMLElementTagNameMap[K]
Type Parameters
K extends keyof SVGElementTagNameMap
Parameters
selectors: K
Returns SVGElementTagNameMap[K]
Type Parameters
K extends keyof MathMLElementTagNameMap
Parameters
selectors: K
Returns MathMLElementTagNameMap[K]
Type Parameters
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
selectors: K
Returns HTMLElementDeprecatedTagNameMap[K]
Deprecated
Type Parameters
E extends Element = Element
Parameters
selectors: string
Returns E
querySelectorAll
Returns all element descendants of node that match selectors.
MDN Reference
Type Parameters
K extends keyof HTMLElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<HTMLElementTagNameMap[K]>
Type Parameters
K extends keyof SVGElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<SVGElementTagNameMap[K]>
Type Parameters
K extends keyof MathMLElementTagNameMap
Parameters
selectors: K
Returns NodeListOf<MathMLElementTagNameMap[K]>
Type Parameters
K extends keyof HTMLElementDeprecatedTagNameMap
Parameters
selectors: K
Returns NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Deprecated
Type Parameters
E extends Element = Element
Parameters
selectors: string
Returns NodeListOf<E>
releasePointerCapture
MDN Reference
Parameters
pointerId: number
Returns void
remove
Removes node.
MDN Reference
Returns void
removeAttribute
Removes element's first attribute whose qualified name is qualifiedName.
MDN Reference
Parameters
qualifiedName: string
Returns void
removeAttributeNS
Removes element's attribute whose namespace is namespace and local name is localName.
MDN Reference
Parameters
namespace: string
localName: string
Returns void
removeAttributeNode
MDN Reference
Parameters
attr: Attr
Returns Attr
removeChild
MDN Reference
Type Parameters
T extends Node
Parameters
child: T
Returns T
removeEventListener
Type Parameters
K extends keyof HTMLElementEventMap
Parameters
type: K
listener: ((this, ev) => any)
Parameters
this: HTMLTemplateElement
ev: HTMLElementEventMap[K]
Returns any
Optional
options: boolean | EventListenerOptionsReturns void
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional
options: boolean | EventListenerOptionsReturns void
replaceChild
MDN Reference
Type Parameters
T extends Node
Parameters
node: Node
child: T
Returns T
replaceChildren
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
replaceWith
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
MDN Reference
Parameters
Rest
...nodes: (string | Node)[]Returns void
requestFullscreen
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
MDN Reference
Parameters
Optional
options: FullscreenOptionsReturns Promise<void>
requestPointerLock
MDN Reference
Returns void
scroll
MDN Reference
Parameters
Optional
options: ScrollToOptionsReturns void
Parameters
x: number
y: number
Returns void
scrollBy
MDN Reference
Parameters
Optional
options: ScrollToOptionsReturns void
Parameters
x: number
y: number
Returns void
scrollIntoView
MDN Reference
Parameters
Optional
arg: boolean | ScrollIntoViewOptionsReturns void
scrollTo
MDN Reference
Parameters
Optional
options: ScrollToOptionsReturns void
Parameters
x: number
y: number
Returns void
setAttribute
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
MDN Reference
Parameters
qualifiedName: string
value: string
Returns void
setAttributeNS
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
MDN Reference
Parameters
namespace: string
qualifiedName: string
value: string
Returns void
setAttributeNode
MDN Reference
Parameters
attr: Attr
Returns Attr
setAttributeNodeNS
MDN Reference
Parameters
attr: Attr
Returns Attr
setPointerCapture
MDN Reference
Parameters
pointerId: number
Returns void
toggleAttribute
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise.
MDN Reference
Parameters
qualifiedName: string
Optional
force: booleanReturns boolean
webkitMatchesSelector
Parameters
selectors: string
Returns boolean
Deprecated
This is a legacy alias of
matches
.MDN Reference
Settings
Member Visibility
Theme
On This Page