Interface VariantSelector
Properties
accessKey
Declaration
Property Value
accessKeyLabel
Declaration
Property Value
apiUrl
Declaration
Property Value
assignedSlot
Declaration
assignedSlot: HTMLSlotElement | null
Property Value
| Type |
Description |
| HTMLSlotElement | null |
|
attributes
Declaration
Property Value
| Type |
Description |
| NamedNodeMap |
|
ATTRIBUTE_NODE
Declaration
Property Value
autocapitalize
Declaration
Property Value
baseURI
Returns node's node document's document base URL.
Declaration
Property Value
| Type |
Description |
| string |
Returns node's node document's document base URL.
|
CDATA_SECTION_NODE
node is a CDATASection node.
Declaration
CDATA_SECTION_NODE: number
Property Value
| Type |
Description |
| number |
node is a CDATASection node.
|
childElementCount
Declaration
childElementCount: number
Property Value
childNodes
Declaration
childNodes: NodeListOf<ChildNode>
Property Value
| Type |
Description |
| NodeListOf<ChildNode> |
Returns the children.
|
children
Returns the child elements.
Declaration
Property Value
| Type |
Description |
| HTMLCollection |
Returns the child elements.
|
classList
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Declaration
Property Value
| Type |
Description |
| DOMTokenList |
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
|
className
Returns the value of element's class content attribute. Can be set to change it.
Declaration
Property Value
| Type |
Description |
| string |
Returns the value of element's class content attribute. Can be set to change it.
|
clientHeight
Declaration
Property Value
clientLeft
Declaration
Property Value
clientTop
Declaration
Property Value
clientWidth
Declaration
Property Value
Declaration
Property Value
| Type |
Description |
| number |
node is a Comment node.
|
contentEditable
Declaration
Property Value
dataset
Declaration
Property Value
| Type |
Description |
| DOMStringMap |
|
dir
Declaration
Property Value
DOCUMENT_FRAGMENT_NODE
node is a DocumentFragment node.
Declaration
DOCUMENT_FRAGMENT_NODE: number
Property Value
| Type |
Description |
| number |
node is a DocumentFragment node.
|
DOCUMENT_NODE
Declaration
Property Value
| Type |
Description |
| number |
node is a document.
|
DOCUMENT_POSITION_CONTAINED_BY
Set when other is a descendant of node.
Declaration
DOCUMENT_POSITION_CONTAINED_BY: number
Property Value
| Type |
Description |
| number |
Set when other is a descendant of node.
|
DOCUMENT_POSITION_CONTAINS
Set when other is an ancestor of node.
Declaration
DOCUMENT_POSITION_CONTAINS: number
Property Value
| Type |
Description |
| number |
Set when other is an ancestor of node.
|
DOCUMENT_POSITION_DISCONNECTED
Set when node and other are not in the same tree.
Declaration
DOCUMENT_POSITION_DISCONNECTED: number
Property Value
| Type |
Description |
| number |
Set when node and other are not in the same tree.
|
DOCUMENT_POSITION_FOLLOWING
Set when other is following node.
Declaration
DOCUMENT_POSITION_FOLLOWING: number
Property Value
| Type |
Description |
| number |
Set when other is following node.
|
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Declaration
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number
Property Value
DOCUMENT_POSITION_PRECEDING
Set when other is preceding node.
Declaration
DOCUMENT_POSITION_PRECEDING: number
Property Value
| Type |
Description |
| number |
Set when other is preceding node.
|
DOCUMENT_TYPE_NODE
Declaration
DOCUMENT_TYPE_NODE: number
Property Value
| Type |
Description |
| number |
node is a doctype.
|
draggable
Declaration
Property Value
ELEMENT_NODE
Declaration
Property Value
| Type |
Description |
| number |
node is an element.
|
ENTITY_NODE
Declaration
Property Value
ENTITY_REFERENCE_NODE
Declaration
ENTITY_REFERENCE_NODE: number
Property Value
firstChild
Declaration
firstChild: ChildNode | null
Property Value
| Type |
Description |
| ChildNode | null |
Returns the first child.
|
firstElementChild
Returns the first child that is an element, and null otherwise.
Declaration
firstElementChild: Element | null
Property Value
| Type |
Description |
| Element | null |
Returns the first child that is an element, and null otherwise.
|
hidden
Declaration
Property Value
HTMLElement
Declaration
Property Value
id
Returns the value of element's id content attribute. Can be set to change it.
Declaration
Property Value
| Type |
Description |
| string |
Returns the value of element's id content attribute. Can be set to change it.
|
innerHTML
Declaration
Property Value
innerText
Declaration
Property Value
Declaration
Property Value
isConnected
Returns true if node is connected and false otherwise.
Declaration
Property Value
| Type |
Description |
| boolean |
Returns true if node is connected and false otherwise.
|
isContentEditable
Declaration
isContentEditable: boolean
Property Value
lang
Declaration
Property Value
lastChild
Declaration
lastChild: ChildNode | null
Property Value
| Type |
Description |
| ChildNode | null |
Returns the last child.
|
lastElementChild
Returns the last child that is an element, and null otherwise.
Declaration
lastElementChild: Element | null
Property Value
| Type |
Description |
| Element | null |
Returns the last child that is an element, and null otherwise.
|
localName
Declaration
Property Value
| Type |
Description |
| string |
Returns the local name.
|
namespaceURI
Declaration
namespaceURI: string | null
Property Value
| Type |
Description |
| string | null |
Returns the namespace.
|
nextElementSibling
Returns the first following sibling that is an element, and null otherwise.
Declaration
nextElementSibling: Element | null
Property Value
| Type |
Description |
| Element | null |
Returns the first following sibling that is an element, and null otherwise.
|
nextSibling
Returns the next sibling.
Declaration
nextSibling: ChildNode | null
Property Value
| Type |
Description |
| ChildNode | null |
Returns the next sibling.
|
nodeName
Returns a string appropriate for the type of node.
Declaration
Property Value
| Type |
Description |
| string |
Returns a string appropriate for the type of node.
|
nodeType
Returns the type of node.
Declaration
Property Value
| Type |
Description |
| number |
Returns the type of node.
|
nodeValue
Declaration
Property Value
| Type |
Description |
| string | null |
|
nonce
Declaration
Property Value
NOTATION_NODE
Declaration
Property Value
offsetHeight
Declaration
Property Value
offsetLeft
Declaration
Property Value
offsetParent
Declaration
offsetParent: Element | null
Property Value
| Type |
Description |
| Element | null |
|
offsetTop
Declaration
Property Value
offsetWidth
Declaration
Property Value
onabort
Fires when the user aborts the download.
Declaration
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: UIEvent) => any | null |
Fires when the user aborts the download.
|
onanimationcancel
Declaration
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: AnimationEvent) => any | null |
|
onanimationend
Declaration
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: AnimationEvent) => any | null |
|
onanimationiteration
Declaration
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: AnimationEvent) => any | null |
|
onanimationstart
Declaration
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: AnimationEvent) => any | null |
|
onauxclick
Declaration
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
|
onblur
Fires when the object loses the input focus.
Declaration
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: FocusEvent) => any | null |
Fires when the object loses the input focus.
|
oncancel
Declaration
oncancel: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
oncanplay
Occurs when playback is possible, but would require further buffering.
Declaration
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when playback is possible, but would require further buffering.
|
oncanplaythrough
Declaration
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
onchange
Fires when the contents of the object or selection have changed.
Declaration
onchange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Fires when the contents of the object or selection have changed.
|
onclick
Fires when the user clicks the left mouse button on the object
Declaration
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user clicks the left mouse button on the object
|
onclose
Declaration
onclose: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Declaration
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
oncopy
Declaration
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null
Property Value
| Type |
Description |
| (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null |
|
oncuechange
Declaration
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
oncut
Declaration
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null
Property Value
| Type |
Description |
| (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null |
|
ondblclick
Fires when the user double-clicks the object.
Declaration
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user double-clicks the object.
|
ondrag
Fires on the source object continuously during a drag operation.
Declaration
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the source object continuously during a drag operation.
|
ondragend
Fires on the source object when the user releases the mouse at the close of a drag operation.
Declaration
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the source object when the user releases the mouse at the close of a drag operation.
|
ondragenter
Fires on the target element when the user drags the object to a valid drop target.
Declaration
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the target element when the user drags the object to a valid drop target.
|
ondragexit
Declaration
ondragexit: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
ondragleave
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Declaration
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
|
ondragover
Fires on the target element continuously while the user drags the object over a valid drop target.
Declaration
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the target element continuously while the user drags the object over a valid drop target.
|
ondragstart
Fires on the source object when the user starts to drag a text selection or selected object.
Declaration
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
Fires on the source object when the user starts to drag a text selection or selected object.
|
ondrop
Declaration
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: DragEvent) => any | null |
|
ondurationchange
Occurs when the duration attribute is updated.
Declaration
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the duration attribute is updated.
|
onemptied
Occurs when the media element is reset to its initial state.
Declaration
onemptied: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the media element is reset to its initial state.
|
onended
Occurs when the end of playback is reached.
Declaration
onended: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the end of playback is reached.
|
onerror
Fires when an error occurs during object loading.
Declaration
onerror: OnErrorEventHandler
Property Value
| Type |
Description |
| OnErrorEventHandler |
Fires when an error occurs during object loading.
|
onfocus
Fires when the object receives focus.
Declaration
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: FocusEvent) => any | null |
Fires when the object receives focus.
|
onfullscreenchange
Declaration
onfullscreenchange: (this: Element, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: Element, ev: Event) => any | null |
|
onfullscreenerror
Declaration
onfullscreenerror: (this: Element, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: Element, ev: Event) => any | null |
|
ongotpointercapture
Declaration
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
Declaration
oninput: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
oninvalid
Declaration
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
onkeydown
Fires when the user presses a key.
Declaration
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null |
Fires when the user presses a key.
|
onkeypress
Fires when the user presses an alphanumeric key.
Declaration
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null |
Fires when the user presses an alphanumeric key.
|
onkeyup
Fires when the user releases a key.
Declaration
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null |
Fires when the user releases a key.
|
onload
Fires immediately after the browser loads the object.
Declaration
onload: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Fires immediately after the browser loads the object.
|
onloadeddata
Occurs when media data is loaded at the current playback position.
Declaration
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when media data is loaded at the current playback position.
|
Occurs when the duration and dimensions of the media have been determined.
Declaration
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the duration and dimensions of the media have been determined.
|
onloadend
Declaration
onloadend: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: ProgressEvent) => any | null |
|
onloadstart
Occurs when Internet Explorer begins looking for media data.
Declaration
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when Internet Explorer begins looking for media data.
|
onlostpointercapture
Declaration
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onmousedown
Fires when the user clicks the object with either mouse button.
Declaration
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user clicks the object with either mouse button.
|
onmouseenter
Declaration
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
|
onmouseleave
Declaration
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
|
onmousemove
Fires when the user moves the mouse over the object.
Declaration
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user moves the mouse over the object.
|
onmouseout
Fires when the user moves the mouse pointer outside the boundaries of the object.
Declaration
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user moves the mouse pointer outside the boundaries of the object.
|
onmouseover
Fires when the user moves the mouse pointer into the object.
Declaration
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user moves the mouse pointer into the object.
|
onmouseup
Fires when the user releases a mouse button while the mouse is over the object.
Declaration
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: MouseEvent) => any | null |
Fires when the user releases a mouse button while the mouse is over the object.
|
onpaste
Declaration
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null
Property Value
| Type |
Description |
| (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any | null |
|
onpause
Occurs when playback is paused.
Declaration
onpause: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when playback is paused.
|
onplay
Occurs when the play method is requested.
Declaration
onplay: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the play method is requested.
|
onplaying
Occurs when the audio or video has started playing.
Declaration
onplaying: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the audio or video has started playing.
|
onpointercancel
Declaration
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerdown
Declaration
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerenter
Declaration
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerleave
Declaration
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointermove
Declaration
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerout
Declaration
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerover
Declaration
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onpointerup
Declaration
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: PointerEvent) => any | null |
|
onprogress
Occurs to indicate progress while downloading media data.
Declaration
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: ProgressEvent) => any | null |
Occurs to indicate progress while downloading media data.
|
onratechange
Occurs when the playback rate is increased or decreased.
Declaration
onratechange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the playback rate is increased or decreased.
|
onreset
Fires when the user resets a form.
Declaration
onreset: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Fires when the user resets a form.
|
onresize
Declaration
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: UIEvent) => any | null |
|
Fires when the user repositions the scroll box in the scroll bar on the object.
Declaration
onscroll: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Fires when the user repositions the scroll box in the scroll bar on the object.
|
onsecuritypolicyviolation
Declaration
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null |
|
onseeked
Occurs when the seek operation ends.
Declaration
onseeked: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the seek operation ends.
|
onseeking
Occurs when the current playback position is moved.
Declaration
onseeking: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the current playback position is moved.
|
onselect
Fires when the current selection changes.
Declaration
onselect: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Fires when the current selection changes.
|
onselectionchange
Declaration
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
onselectstart
Declaration
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
onstalled
Occurs when the download has stopped.
Declaration
onstalled: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the download has stopped.
|
onsubmit
Declaration
onsubmit: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
onsuspend
Occurs if the load operation has been intentionally halted.
Declaration
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs if the load operation has been intentionally halted.
|
ontimeupdate
Occurs to indicate the current playback position.
Declaration
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs to indicate the current playback position.
|
ontoggle
Declaration
ontoggle: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
|
ontouchcancel
Declaration
ontouchcancel: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TouchEvent) => any | null |
|
ontouchend
Declaration
ontouchend: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TouchEvent) => any | null |
|
ontouchmove
Declaration
ontouchmove: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TouchEvent) => any | null |
|
ontouchstart
Declaration
ontouchstart: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TouchEvent) => any | null |
|
ontransitioncancel
Declaration
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TransitionEvent) => any | null |
|
ontransitionend
Declaration
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TransitionEvent) => any | null |
|
ontransitionrun
Declaration
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TransitionEvent) => any | null |
|
ontransitionstart
Declaration
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: TransitionEvent) => any | null |
|
onvolumechange
Occurs when the volume is changed, or playback is muted or unmuted.
Declaration
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when the volume is changed, or playback is muted or unmuted.
|
onwaiting
Occurs when playback stops because the next frame of a video resource is not available.
Declaration
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: Event) => any | null |
Occurs when playback stops because the next frame of a video resource is not available.
|
onwheel
Declaration
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null
Property Value
| Type |
Description |
| (this: GlobalEventHandlers, ev: WheelEvent) => any | null |
|
outerHTML
Declaration
Property Value
ownerDocument
Returns the node document. Returns null for documents.
Declaration
ownerDocument: Document | null
Property Value
| Type |
Description |
| Document | null |
Returns the node document. Returns null for documents.
|
parentElement
Returns the parent element.
Declaration
parentElement: HTMLElement | null
Property Value
| Type |
Description |
| HTMLElement | null |
Returns the parent element.
|
parentNode
Declaration
parentNode: Node & ParentNode | null
Property Value
| Type |
Description |
| Node & ParentNode | null |
Returns the parent.
|
prefix
Returns the namespace prefix.
Declaration
Property Value
| Type |
Description |
| string | null |
Returns the namespace prefix.
|
previousElementSibling
Returns the first preceding sibling that is an element, and null otherwise.
Declaration
previousElementSibling: Element | null
Property Value
| Type |
Description |
| Element | null |
Returns the first preceding sibling that is an element, and null otherwise.
|
previousSibling
Returns the previous sibling.
Declaration
previousSibling: Node | null
Property Value
| Type |
Description |
| Node | null |
Returns the previous sibling.
|
PROCESSING_INSTRUCTION_NODE
node is a ProcessingInstruction node.
Declaration
PROCESSING_INSTRUCTION_NODE: number
Property Value
| Type |
Description |
| number |
node is a ProcessingInstruction node.
|
productFilterId
Declaration
Property Value
productId
Declaration
Property Value
productVersionId
Declaration
Property Value
Declaration
Property Value
Declaration
Property Value
Declaration
Property Value
Declaration
Property Value
shadowRoot
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Declaration
shadowRoot: ShadowRoot | null
Property Value
| Type |
Description |
| ShadowRoot | null |
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
|
slot
Returns the value of element's slot content attribute. Can be set to change it.
Declaration
Property Value
| Type |
Description |
| string |
Returns the value of element's slot content attribute. Can be set to change it.
|
spellcheck
Declaration
Property Value
style
Declaration
style: CSSStyleDeclaration
Property Value
| Type |
Description |
| CSSStyleDeclaration |
|
tabIndex
Declaration
Property Value
tagName
Returns the HTML-uppercased qualified name.
Declaration
Property Value
| Type |
Description |
| string |
Returns the HTML-uppercased qualified name.
|
textContent
Declaration
textContent: string | null
Property Value
| Type |
Description |
| string | null |
|
TEXT_NODE
Declaration
Property Value
| Type |
Description |
| number |
node is a Text node.
|
title
Declaration
Property Value
token
Declaration
Property Value
translate
Declaration
Property Value
Methods
addEventListener(K, (this: HTMLElement, ev: Object) => any, boolean | AddEventListenerOptions)
Declaration
function addEventListener<K>(type: K, listener: (this: HTMLElement, ev: Object) => any, options?: boolean | AddEventListenerOptions)
Parameters
| Type |
Name |
Description |
| K |
type |
|
| (this: HTMLElement, ev: Object) => any |
listener |
|
| boolean | AddEventListenerOptions |
options |
|
addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
Declaration
function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
Parameters
| Type |
Name |
Description |
| string |
type |
|
| EventListenerOrEventListenerObject |
listener |
|
| boolean | AddEventListenerOptions |
options |
|
after(string | Node[])
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.
Declaration
function after(nodes: string | Node[])
Parameters
| Type |
Name |
Description |
| string | Node[] |
nodes |
|
animate(Keyframe[] | PropertyIndexedKeyframes | null, number | KeyframeAnimationOptions)
Declaration
function animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions)
Parameters
| Type |
Name |
Description |
| Keyframe[] | PropertyIndexedKeyframes | null |
keyframes |
|
| number | KeyframeAnimationOptions |
options |
|
Returns
| Type |
Description |
| Animation |
|
append(string | Node[])
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.
Declaration
function append(nodes: string | Node[])
Parameters
| Type |
Name |
Description |
| string | Node[] |
nodes |
|
appendChild(T)
Declaration
function appendChild<T>(newChild: T)
Parameters
| Type |
Name |
Description |
| T |
newChild |
|
Returns
attachShadow(ShadowRootInit)
Creates a shadow root for element and returns it.
Declaration
function attachShadow(init: ShadowRootInit)
Parameters
| Type |
Name |
Description |
| ShadowRootInit |
init |
|
Returns
| Type |
Description |
| ShadowRoot |
|
before(string | Node[])
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.
Declaration
function before(nodes: string | Node[])
Parameters
| Type |
Name |
Description |
| string | Node[] |
nodes |
|
blur()
Declaration
click()
Declaration
cloneNode(boolean)
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Declaration
function cloneNode(deep?: boolean)
Parameters
| Type |
Name |
Description |
| boolean |
deep |
|
Returns
closest(K)
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Declaration
function closest<K>(selector: K)
Parameters
| Type |
Name |
Description |
| K |
selector |
|
Returns
| Type |
Description |
| Object | null |
|
closest(K)
Declaration
function closest<K>(selector: K)
Parameters
| Type |
Name |
Description |
| K |
selector |
|
Returns
| Type |
Description |
| Object | null |
|
closest(string)
Declaration
function closest<E>(selector: string)
Parameters
| Type |
Name |
Description |
| string |
selector |
|
Returns
| Type |
Description |
| E | null |
|
compareDocumentPosition(Node)
Returns a bitmask indicating the position of other relative to node.
Declaration
function compareDocumentPosition(other: Node)
Parameters
| Type |
Name |
Description |
| Node |
other |
|
Returns
contains(Node | null)
Returns true if other is an inclusive descendant of node, and false otherwise.
Declaration
function contains(other: Node | null)
Parameters
| Type |
Name |
Description |
| Node | null |
other |
|
Returns
dispatchEvent(Event)
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.
Declaration
function dispatchEvent(event: Event)
Parameters
| Type |
Name |
Description |
| Event |
event |
|
Returns
focus(FocusOptions)
Declaration
function focus(options?: FocusOptions)
Parameters
| Type |
Name |
Description |
| FocusOptions |
options |
|
getAnimations()
Declaration
Returns
| Type |
Description |
| Animation[] |
|
getAttribute(string)
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Declaration
function getAttribute(qualifiedName: string)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
Returns
| Type |
Description |
| string | null |
|
getAttributeNames()
Returns the qualified names of all element's attributes. Can contain duplicates.
Declaration
function getAttributeNames()
Returns
| Type |
Description |
| string[] |
|
getAttributeNode(string)
Declaration
function getAttributeNode(name: string)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
| Type |
Description |
| Attr | null |
|
getAttributeNodeNS(string, string)
Declaration
function getAttributeNodeNS(namespaceURI: string, localName: string)
Parameters
| Type |
Name |
Description |
| string |
namespaceURI |
|
| string |
localName |
|
Returns
| Type |
Description |
| Attr | null |
|
getAttributeNS(string | null, string)
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Declaration
function getAttributeNS(namespace: string | null, localName: string)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
| string |
localName |
|
Returns
| Type |
Description |
| string | null |
|
getBoundingClientRect()
Declaration
function getBoundingClientRect()
Returns
getClientRects()
Declaration
function getClientRects()
Returns
| Type |
Description |
| DOMRectList |
|
getElementsByClassName(string)
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.
Declaration
function getElementsByClassName(classNames: string)
Parameters
| Type |
Name |
Description |
| string |
classNames |
|
Returns
| Type |
Description |
| HTMLCollectionOf<Element> |
|
getElementsByTagName(K)
Declaration
function getElementsByTagName<K>(qualifiedName: K)
Parameters
| Type |
Name |
Description |
| K |
qualifiedName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<Object> |
|
getElementsByTagName(K)
Declaration
function getElementsByTagName<K>(qualifiedName: K)
Parameters
| Type |
Name |
Description |
| K |
qualifiedName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<Object> |
|
getElementsByTagName(string)
Declaration
function getElementsByTagName(qualifiedName: string)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<Element> |
|
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
Declaration
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string)
Parameters
| Type |
Name |
Description |
| "http://www.w3.org/1999/xhtml" |
namespaceURI |
|
| string |
localName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<HTMLElement> |
|
getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
Declaration
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string)
Parameters
| Type |
Name |
Description |
| "http://www.w3.org/2000/svg" |
namespaceURI |
|
| string |
localName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<SVGElement> |
|
getElementsByTagNameNS(string, string)
Declaration
function getElementsByTagNameNS(namespaceURI: string, localName: string)
Parameters
| Type |
Name |
Description |
| string |
namespaceURI |
|
| string |
localName |
|
Returns
| Type |
Description |
| HTMLCollectionOf<Element> |
|
getRootNode(GetRootNodeOptions)
Declaration
function getRootNode(options?: GetRootNodeOptions)
Parameters
| Type |
Name |
Description |
| GetRootNodeOptions |
options |
|
Returns
hasAttribute(string)
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Declaration
function hasAttribute(qualifiedName: string)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
Returns
hasAttributeNS(string | null, string)
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Declaration
function hasAttributeNS(namespace: string | null, localName: string)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
| string |
localName |
|
Returns
hasAttributes()
Returns true if element has attributes, and false otherwise.
Declaration
Returns
hasChildNodes()
Returns whether node has children.
Declaration
Returns
hasPointerCapture(number)
Declaration
function hasPointerCapture(pointerId: number)
Parameters
| Type |
Name |
Description |
| number |
pointerId |
|
Returns
insertAdjacentElement(InsertPosition, Element)
Declaration
function insertAdjacentElement(position: InsertPosition, insertedElement: Element)
Parameters
| Type |
Name |
Description |
| InsertPosition |
position |
|
| Element |
insertedElement |
|
Returns
| Type |
Description |
| Element | null |
|
insertAdjacentHTML(InsertPosition, string)
Declaration
function insertAdjacentHTML(where: InsertPosition, html: string)
Parameters
| Type |
Name |
Description |
| InsertPosition |
where |
|
| string |
html |
|
insertAdjacentText(InsertPosition, string)
Declaration
function insertAdjacentText(where: InsertPosition, text: string)
Parameters
| Type |
Name |
Description |
| InsertPosition |
where |
|
| string |
text |
|
insertBefore(T, Node | null)
Declaration
function insertBefore<T>(newChild: T, refChild: Node | null)
Parameters
| Type |
Name |
Description |
| T |
newChild |
|
| Node | null |
refChild |
|
Returns
isDefaultNamespace(string | null)
Declaration
function isDefaultNamespace(namespace: string | null)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
Returns
isEqualNode(Node | null)
Returns whether node and otherNode have the same properties.
Declaration
function isEqualNode(otherNode: Node | null)
Parameters
| Type |
Name |
Description |
| Node | null |
otherNode |
|
Returns
isSameNode(Node | null)
Declaration
function isSameNode(otherNode: Node | null)
Parameters
| Type |
Name |
Description |
| Node | null |
otherNode |
|
Returns
lookupNamespaceURI(string | null)
Declaration
function lookupNamespaceURI(prefix: string | null)
Parameters
| Type |
Name |
Description |
| string | null |
prefix |
|
Returns
| Type |
Description |
| string | null |
|
lookupPrefix(string | null)
Declaration
function lookupPrefix(namespace: string | null)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
Returns
| Type |
Description |
| string | null |
|
matches(string)
Returns true if matching selectors against element's root yields element, and false otherwise.
Declaration
function matches(selectors: string)
Parameters
| Type |
Name |
Description |
| string |
selectors |
|
Returns
msGetRegionContent()
Declaration
function msGetRegionContent()
Returns
normalize()
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Declaration
prepend(string | Node[])
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.
Declaration
function prepend(nodes: string | Node[])
Parameters
| Type |
Name |
Description |
| string | Node[] |
nodes |
|
querySelector(K)
Returns the first element that is a descendant of node that matches selectors.
Declaration
function querySelector<K>(selectors: K)
Parameters
| Type |
Name |
Description |
| K |
selectors |
|
Returns
| Type |
Description |
| Object | null |
|
querySelector(K)
Declaration
function querySelector<K>(selectors: K)
Parameters
| Type |
Name |
Description |
| K |
selectors |
|
Returns
| Type |
Description |
| Object | null |
|
querySelector(string)
Declaration
function querySelector<E>(selectors: string)
Parameters
| Type |
Name |
Description |
| string |
selectors |
|
Returns
| Type |
Description |
| E | null |
|
querySelectorAll(K)
Returns all element descendants of node that match selectors.
Declaration
function querySelectorAll<K>(selectors: K)
Parameters
| Type |
Name |
Description |
| K |
selectors |
|
Returns
| Type |
Description |
| NodeListOf<Object> |
|
querySelectorAll(K)
Declaration
function querySelectorAll<K>(selectors: K)
Parameters
| Type |
Name |
Description |
| K |
selectors |
|
Returns
| Type |
Description |
| NodeListOf<Object> |
|
querySelectorAll(string)
Declaration
function querySelectorAll<E>(selectors: string)
Parameters
| Type |
Name |
Description |
| string |
selectors |
|
Returns
| Type |
Description |
| NodeListOf<E> |
|
releasePointerCapture(number)
Declaration
function releasePointerCapture(pointerId: number)
Parameters
| Type |
Name |
Description |
| number |
pointerId |
|
remove()
Declaration
removeAttribute(string)
Removes element's first attribute whose qualified name is qualifiedName.
Declaration
function removeAttribute(qualifiedName: string)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
removeAttributeNode(Attr)
Declaration
function removeAttributeNode(attr: Attr)
Parameters
| Type |
Name |
Description |
| Attr |
attr |
|
Returns
removeAttributeNS(string | null, string)
Removes element's attribute whose namespace is namespace and local name is localName.
Declaration
function removeAttributeNS(namespace: string | null, localName: string)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
| string |
localName |
|
removeChild(T)
Declaration
function removeChild<T>(oldChild: T)
Parameters
| Type |
Name |
Description |
| T |
oldChild |
|
Returns
removeEventListener(K, (this: HTMLElement, ev: Object) => any, boolean | EventListenerOptions)
Declaration
function removeEventListener<K>(type: K, listener: (this: HTMLElement, ev: Object) => any, options?: boolean | EventListenerOptions)
Parameters
| Type |
Name |
Description |
| K |
type |
|
| (this: HTMLElement, ev: Object) => any |
listener |
|
| boolean | EventListenerOptions |
options |
|
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
Declaration
function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
Parameters
| Type |
Name |
Description |
| string |
type |
|
| EventListenerOrEventListenerObject |
listener |
|
| boolean | EventListenerOptions |
options |
|
replaceChild(Node, T)
Declaration
function replaceChild<T>(newChild: Node, oldChild: T)
Parameters
| Type |
Name |
Description |
| Node |
newChild |
|
| T |
oldChild |
|
Returns
replaceWith(string | Node[])
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.
Declaration
function replaceWith(nodes: string | Node[])
Parameters
| Type |
Name |
Description |
| string | Node[] |
nodes |
|
requestFullscreen(FullscreenOptions)
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.
Declaration
function requestFullscreen(options?: FullscreenOptions)
Parameters
| Type |
Name |
Description |
| FullscreenOptions |
options |
|
Returns
| Type |
Description |
| Promise<void> |
|
requestPointerLock()
Declaration
function requestPointerLock()
Declaration
function scroll(x: number, y: number)
Parameters
| Type |
Name |
Description |
| number |
x |
|
| number |
y |
|
Declaration
function scroll(options?: ScrollToOptions)
Parameters
| Type |
Name |
Description |
| ScrollToOptions |
options |
|
Declaration
function scrollBy(x: number, y: number)
Parameters
| Type |
Name |
Description |
| number |
x |
|
| number |
y |
|
Declaration
function scrollBy(options?: ScrollToOptions)
Parameters
| Type |
Name |
Description |
| ScrollToOptions |
options |
|
Declaration
function scrollIntoView(arg?: boolean | ScrollIntoViewOptions)
Parameters
| Type |
Name |
Description |
| boolean | ScrollIntoViewOptions |
arg |
|
Declaration
function scrollTo(x: number, y: number)
Parameters
| Type |
Name |
Description |
| number |
x |
|
| number |
y |
|
Declaration
function scrollTo(options?: ScrollToOptions)
Parameters
| Type |
Name |
Description |
| ScrollToOptions |
options |
|
setAttribute(string, string)
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Declaration
function setAttribute(qualifiedName: string, value: string)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
| string |
value |
|
setAttributeNode(Attr)
Declaration
function setAttributeNode(attr: Attr)
Parameters
| Type |
Name |
Description |
| Attr |
attr |
|
Returns
| Type |
Description |
| Attr | null |
|
setAttributeNodeNS(Attr)
Declaration
function setAttributeNodeNS(attr: Attr)
Parameters
| Type |
Name |
Description |
| Attr |
attr |
|
Returns
| Type |
Description |
| Attr | null |
|
setAttributeNS(string | null, string, string)
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Declaration
function setAttributeNS(namespace: string | null, qualifiedName: string, value: string)
Parameters
| Type |
Name |
Description |
| string | null |
namespace |
|
| string |
qualifiedName |
|
| string |
value |
|
setPointerCapture(number)
Declaration
function setPointerCapture(pointerId: number)
Parameters
| Type |
Name |
Description |
| number |
pointerId |
|
toggleAttribute(string, 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.
Declaration
function toggleAttribute(qualifiedName: string, force?: boolean)
Parameters
| Type |
Name |
Description |
| string |
qualifiedName |
|
| boolean |
force |
|
Returns
webkitMatchesSelector(string)
Declaration
function webkitMatchesSelector(selectors: string)
Parameters
| Type |
Name |
Description |
| string |
selectors |
|
Returns