Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
className
className:string
Returns the value of element's class content attribute. Can be set to change it.
ReadonlyclientHeight
clientHeight:number
ReadonlyclientLeft
clientLeft:number
ReadonlyclientTop
clientTop:number
ReadonlyclientWidth
clientWidth:number
contentEditable
contentEditable:string
Readonlydataset
dataset:DOMStringMap
dir
dir:string
draggable
draggable:boolean
enterKeyHint
enterKeyHint:string
ReadonlyfirstChild
firstChild:ChildNode
Returns the first child.
ReadonlyfirstElementChild
firstElementChild:Element
Returns the first child that is an element, and null otherwise.
hidden
hidden:boolean
id
id:string
Returns the value of element's id content attribute. Can be set to change it.
inert
inert:boolean
innerHTML
innerHTML:string
innerText
innerText:string
inputMode
inputMode:string
ReadonlyisConnected
isConnected:boolean
Returns true if node is connected and false otherwise.
ReadonlyisContentEditable
isContentEditable:boolean
lang
lang:string
ReadonlylastChild
lastChild:ChildNode
Returns the last child.
ReadonlylastElementChild
lastElementChild:Element
Returns the last child that is an element, and null otherwise.
ReadonlylocalName
localName:string
Returns the local name.
ReadonlynamespaceURI
namespaceURI:string
Returns the namespace.
ReadonlynextElementSibling
nextElementSibling:Element
Returns the first following sibling that is an element, and null otherwise.
ReadonlynextSibling
nextSibling:ChildNode
Returns the next sibling.
ReadonlynodeName
nodeName:string
Returns a string appropriate for the type of node.
ReadonlynodeType
nodeType:number
Returns the type of node.
nodeValue
nodeValue:string
Optionalnonce
nonce?:string
ReadonlyoffsetHeight
offsetHeight:number
ReadonlyoffsetLeft
offsetLeft:number
ReadonlyoffsetParent
offsetParent:Element
ReadonlyoffsetTop
offsetTop:number
ReadonlyoffsetWidth
offsetWidth:number
onabort
onabort:((this, ev) => any)
Fires when the user aborts the download.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: UIEvent
The event.
Returns any
onanimationcancel
onanimationcancel:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationend
onanimationend:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationiteration
onanimationiteration:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onanimationstart
onanimationstart:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: AnimationEvent
Returns any
onauxclick
onauxclick:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onbeforeinput
onbeforeinput:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: InputEvent
Returns any
onblur
onblur:((this, ev) => any)
Fires when the object loses the input focus.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: FocusEvent
The focus event.
Returns any
oncancel
oncancel:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncanplay
oncanplay:((this, ev) => any)
Occurs when playback is possible, but would require further buffering.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
oncanplaythrough
oncanplaythrough:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onchange
onchange:((this, ev) => any)
Fires when the contents of the object or selection have changed.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onclick
onclick:((this, ev) => any)
Fires when the user clicks the left mouse button on the object
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onclose
onclose:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncontextmenu
oncontextmenu:((this, ev) => any)
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
oncopy
oncopy:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: DocumentAndElementEventHandlers
ev: ClipboardEvent
Returns any
oncuechange
oncuechange:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oncut
oncut:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: DocumentAndElementEventHandlers
ev: ClipboardEvent
Returns any
ondblclick
ondblclick:((this, ev) => any)
Fires when the user double-clicks the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
ondrag
ondrag:((this, ev) => any)
Fires on the source object continuously during a drag operation.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
Returns any
ondragend
ondragend:((this, ev) => any)
Fires on the source object when the user releases the mouse at the close of a drag operation.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
Returns any
ondragenter
ondragenter:((this, ev) => any)
Fires on the target element when the user drags the object to a valid drop target.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The drag event.
Returns any
ondragleave
ondragleave:((this, ev) => any)
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The drag event.
Returns any
ondragover
ondragover:((this, ev) => any)
Fires on the target element continuously while the user drags the object over a valid drop target.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
Returns any
ondragstart
ondragstart:((this, ev) => any)
Fires on the source object when the user starts to drag a text selection or selected object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
The event.
Returns any
ondrop
ondrop:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: DragEvent
Returns any
ondurationchange
ondurationchange:((this, ev) => any)
Occurs when the duration attribute is updated.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onemptied
onemptied:((this, ev) => any)
Occurs when the media element is reset to its initial state.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onended
onended:((this, ev) => any)
Occurs when the end of playback is reached.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event
Returns any
onerror
onerror:OnErrorEventHandlerNonNull
Fires when an error occurs during object loading.
Param: ev
The event.
onfocus
onfocus:((this, ev) => any)
Fires when the object receives focus.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: FocusEvent
The event.
Returns any
onformdata
onformdata:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: FormDataEvent
Returns any
onfullscreenchange
onfullscreenchange:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: Element
ev: Event
Returns any
onfullscreenerror
onfullscreenerror:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: Element
ev: Event
Returns any
ongotpointercapture
ongotpointercapture:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
oninput
oninput:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
oninvalid
oninvalid:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onkeydown
onkeydown:((this, ev) => any)
Fires when the user presses a key.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The keyboard event
Returns any
onkeypress
onkeypress:((this, ev) => any)
Fires when the user presses an alphanumeric key.
Deprecated
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The event.
Returns any
onkeyup
onkeyup:((this, ev) => any)
Fires when the user releases a key.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: KeyboardEvent
The keyboard event
Returns any
onload
onload:((this, ev) => any)
Fires immediately after the browser loads the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onloadeddata
onloadeddata:((this, ev) => any)
Occurs when media data is loaded at the current playback position.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onloadedmetadata
onloadedmetadata:((this, ev) => any)
Occurs when the duration and dimensions of the media have been determined.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onloadstart
onloadstart:((this, ev) => any)
Occurs when Internet Explorer begins looking for media data.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onlostpointercapture
onlostpointercapture:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onmousedown
onmousedown:((this, ev) => any)
Fires when the user clicks the object with either mouse button.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onmouseenter
onmouseenter:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onmouseleave
onmouseleave:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
Returns any
onmousemove
onmousemove:((this, ev) => any)
Fires when the user moves the mouse over the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onmouseout
onmouseout:((this, ev) => any)
Fires when the user moves the mouse pointer outside the boundaries of the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onmouseover
onmouseover:((this, ev) => any)
Fires when the user moves the mouse pointer into the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onmouseup
onmouseup:((this, ev) => any)
Fires when the user releases a mouse button while the mouse is over the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: MouseEvent
The mouse event.
Returns any
onpaste
onpaste:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: DocumentAndElementEventHandlers
ev: ClipboardEvent
Returns any
onpause
onpause:((this, ev) => any)
Occurs when playback is paused.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onplay
onplay:((this, ev) => any)
Occurs when the play method is requested.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onplaying
onplaying:((this, ev) => any)
Occurs when the audio or video has started playing.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onpointercancel
onpointercancel:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerdown
onpointerdown:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerenter
onpointerenter:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerleave
onpointerleave:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointermove
onpointermove:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerout
onpointerout:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerover
onpointerover:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onpointerup
onpointerup:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: PointerEvent
Returns any
onprogress
onprogress:((this, ev) => any)
Occurs to indicate progress while downloading media data.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: ProgressEvent<EventTarget>
The event.
Returns any
onratechange
onratechange:((this, ev) => any)
Occurs when the playback rate is increased or decreased.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onreset
onreset:((this, ev) => any)
Fires when the user resets a form.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onresize
onresize:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: UIEvent
Returns any
onscroll
onscroll:((this, ev) => any)
Fires when the user repositions the scroll box in the scroll bar on the object.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onsecuritypolicyviolation
onsecuritypolicyviolation:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: SecurityPolicyViolationEvent
Returns any
onseeked
onseeked:((this, ev) => any)
Occurs when the seek operation ends.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onseeking
onseeking:((this, ev) => any)
Occurs when the current playback position is moved.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onselect
onselect:((this, ev) => any)
Fires when the current selection changes.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onselectionchange
onselectionchange:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onselectstart
onselectstart:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onslotchange
onslotchange:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onstalled
onstalled:((this, ev) => any)
Occurs when the download has stopped.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onsubmit
onsubmit:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: SubmitEvent
Returns any
onsuspend
onsuspend:((this, ev) => any)
Occurs if the load operation has been intentionally halted.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
ontimeupdate
ontimeupdate:((this, ev) => any)
Occurs to indicate the current playback position.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
ontoggle
ontoggle:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
Optionalontouchcancel
ontouchcancel?:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optionalontouchend
ontouchend?:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optionalontouchmove
ontouchmove?:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
Optionalontouchstart
ontouchstart?:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TouchEvent
Returns any
ontransitioncancel
ontransitioncancel:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionend
ontransitionend:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionrun
ontransitionrun:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
ontransitionstart
ontransitionstart:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: TransitionEvent
Returns any
onvolumechange
onvolumechange:((this, ev) => any)
Occurs when the volume is changed, or playback is muted or unmuted.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onwaiting
onwaiting:((this, ev) => any)
Occurs when playback stops because the next frame of a video resource is not available.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
The event.
Returns any
onwebkitanimationend
onwebkitanimationend:((this, ev) => any)
Deprecated
This is a legacy alias of onanimationend.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onwebkitanimationiteration
onwebkitanimationiteration:((this, ev) => any)
Deprecated
This is a legacy alias of onanimationiteration.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onwebkitanimationstart
onwebkitanimationstart:((this, ev) => any)
Deprecated
This is a legacy alias of onanimationstart.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onwebkittransitionend
onwebkittransitionend:((this, ev) => any)
Deprecated
This is a legacy alias of ontransitionend.
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: Event
Returns any
onwheel
onwheel:((this, ev) => any)
Type declaration
(this, ev): any
Parameters
this: GlobalEventHandlers
ev: WheelEvent
Returns any
outerHTML
outerHTML:string
outerText
outerText:string
ReadonlyownerDocument
ownerDocument:Document
ReadonlyparentElement
parentElement:HTMLElement
Returns the parent element.
ReadonlyparentNode
parentNode:ParentNode
Returns the parent.
Readonlypart
part:DOMTokenList
Readonlyprefix
prefix:string
Returns the namespace prefix.
ReadonlypreviousElementSibling
previousElementSibling:Element
Returns the first preceding sibling that is an element, and null otherwise.
ReadonlypreviousSibling
previousSibling:ChildNode
Returns the previous sibling.
role
role:string
ReadonlyscrollHeight
scrollHeight:number
scrollLeft
scrollLeft:number
scrollTop
scrollTop:number
ReadonlyscrollWidth
scrollWidth:number
ReadonlyshadowRoot
shadowRoot:ShadowRoot
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
slot
slot:string
Returns the value of element's slot content attribute. Can be set to change it.
spellcheck
spellcheck:boolean
Readonlystyle
style:CSSStyleDeclaration
tabIndex
tabIndex:number
ReadonlytagName
tagName:string
Returns the HTML-uppercased qualified name.
textContent
textContent:string
title
title:string
translate
translate:boolean
StatichtmlTagName
htmlTagName:string
Accessors
actualPixelScalingRatio
get actualPixelScalingRatio(): number
Gets the actual pixel scaling ratio used to affect the pixel density of the control.
A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
to appear blurry.
Gets or sets the scaling value used to affect the pixel density of the control.
A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
to appear blurry.
Returns a bitmask indicating the position of other relative to node.
Parameters
other: Node
Returns number
connectedCallback
connectedCallback(): void
Returns void
contains
contains(other): boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Parameters
other: Node
Returns boolean
createShadow
createShadow(): ShadowRoot
Returns ShadowRoot
disconnectedCallback
disconnectedCallback(): void
Returns void
dispatchEvent
dispatchEvent(event): boolean
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Parameters
event: Event
Returns boolean
findByName
findByName(name): any
Parameters
name: string
Returns any
focus
focus(options?): void
Parameters
Optional options: FocusOptions
Returns void
getAnimations
getAnimations(options?): Animation[]
Parameters
Optional options: GetAnimationsOptions
Returns Animation[]
getAttribute
getAttribute(qualifiedName): string
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Parameters
qualifiedName: string
Returns string
getAttributeNS
getAttributeNS(namespace, localName): string
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Parameters
namespace: string
localName: string
Returns string
getAttributeNames
getAttributeNames(): string[]
Returns the qualified names of all element's attributes. Can contain duplicates.
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.
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
Parameters
Rest...nodes: (string | Node)[]
Returns void
replaceWith
replaceWith(...nodes): void
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
Parameters
Rest...nodes: (string | Node)[]
Returns void
requestFullscreen
requestFullscreen(options?): Promise<void>
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
Parameters
Optional options: FullscreenOptions
Returns Promise<void>
requestPointerLock
requestPointerLock(): void
Returns void
scroll
scroll(options?): void
Parameters
Optional options: ScrollToOptions
Returns void
scroll(x, y): void
Parameters
x: number
y: number
Returns void
scrollBy
scrollBy(options?): void
Parameters
Optional options: ScrollToOptions
Returns void
scrollBy(x, y): void
Parameters
x: number
y: number
Returns void
scrollIntoView
scrollIntoView(arg?): void
Parameters
Optional arg: boolean | ScrollIntoViewOptions
Returns void
scrollTo
scrollTo(options?): void
Parameters
Optional options: ScrollToOptions
Returns void
scrollTo(x, y): void
Parameters
x: number
y: number
Returns void
setAttribute
setAttribute(qualifiedName, value): void
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Parameters
namespace: string
qualifiedName: string
value: string
Returns void
setAttributeNode
setAttributeNode(attr): Attr
Parameters
attr: Attr
Returns Attr
setAttributeNodeNS
setAttributeNodeNS(attr): Attr
Parameters
attr: Attr
Returns Attr
setPointerCapture
setPointerCapture(pointerId): void
Parameters
pointerId: number
Returns void
showIcon
showIcon(): void
Returns void
toggleAttribute
toggleAttribute(qualifiedName, force?): boolean
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise.
An advanced grid for displaying data.