Interface: Block

January 18, 2022 · View on GitHub

Kui API Documentation - v11.0.0 / @kui-shell/core / Block

Interface: Block

@kui-shell/core.Block

Hierarchy

  • HTMLElement

    Block

Table of contents

Properties

Methods

Properties

ATTRIBUTE_NODE

Readonly ATTRIBUTE_NODE: number

Inherited from

HTMLElement.ATTRIBUTE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9696


CDATA_SECTION_NODE

Readonly CDATA_SECTION_NODE: number

node is a CDATASection node.

Inherited from

HTMLElement.CDATA_SECTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9698


COMMENT_NODE

Readonly COMMENT_NODE: number

node is a Comment node.

Inherited from

HTMLElement.COMMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9700


DOCUMENT_FRAGMENT_NODE

Readonly DOCUMENT_FRAGMENT_NODE: number

node is a DocumentFragment node.

Inherited from

HTMLElement.DOCUMENT_FRAGMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9702


DOCUMENT_NODE

Readonly DOCUMENT_NODE: number

node is a document.

Inherited from

HTMLElement.DOCUMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9704


DOCUMENT_POSITION_CONTAINED_BY

Readonly DOCUMENT_POSITION_CONTAINED_BY: number

Set when other is a descendant of node.

Inherited from

HTMLElement.DOCUMENT_POSITION_CONTAINED_BY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9706


DOCUMENT_POSITION_CONTAINS

Readonly DOCUMENT_POSITION_CONTAINS: number

Set when other is an ancestor of node.

Inherited from

HTMLElement.DOCUMENT_POSITION_CONTAINS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9708


DOCUMENT_POSITION_DISCONNECTED

Readonly DOCUMENT_POSITION_DISCONNECTED: number

Set when node and other are not in the same tree.

Inherited from

HTMLElement.DOCUMENT_POSITION_DISCONNECTED

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9710


DOCUMENT_POSITION_FOLLOWING

Readonly DOCUMENT_POSITION_FOLLOWING: number

Set when other is following node.

Inherited from

HTMLElement.DOCUMENT_POSITION_FOLLOWING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9712


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number

Inherited from

HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9713


DOCUMENT_POSITION_PRECEDING

Readonly DOCUMENT_POSITION_PRECEDING: number

Set when other is preceding node.

Inherited from

HTMLElement.DOCUMENT_POSITION_PRECEDING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9715


DOCUMENT_TYPE_NODE

Readonly DOCUMENT_TYPE_NODE: number

node is a doctype.

Inherited from

HTMLElement.DOCUMENT_TYPE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9717


ELEMENT_NODE

Readonly ELEMENT_NODE: number

node is an element.

Inherited from

HTMLElement.ELEMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9719


ENTITY_NODE

Readonly ENTITY_NODE: number

Inherited from

HTMLElement.ENTITY_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9720


ENTITY_REFERENCE_NODE

Readonly ENTITY_REFERENCE_NODE: number

Inherited from

HTMLElement.ENTITY_REFERENCE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9721


NOTATION_NODE

Readonly NOTATION_NODE: number

Inherited from

HTMLElement.NOTATION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9722


PROCESSING_INSTRUCTION_NODE

Readonly PROCESSING_INSTRUCTION_NODE: number

node is a ProcessingInstruction node.

Inherited from

HTMLElement.PROCESSING_INSTRUCTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9724


TEXT_NODE

Readonly TEXT_NODE: number

node is a Text node.

Inherited from

HTMLElement.TEXT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9726


accessKey

accessKey: string

Inherited from

HTMLElement.accessKey

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6133


accessKeyLabel

Readonly accessKeyLabel: string

Inherited from

HTMLElement.accessKeyLabel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6134


ariaAtomic

ariaAtomic: string

Inherited from

HTMLElement.ariaAtomic

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1827


ariaAutoComplete

ariaAutoComplete: string

Inherited from

HTMLElement.ariaAutoComplete

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1828


ariaBusy

ariaBusy: string

Inherited from

HTMLElement.ariaBusy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1829


ariaChecked

ariaChecked: string

Inherited from

HTMLElement.ariaChecked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1830


ariaColCount

ariaColCount: string

Inherited from

HTMLElement.ariaColCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1831


ariaColIndex

ariaColIndex: string

Inherited from

HTMLElement.ariaColIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1832


ariaColSpan

ariaColSpan: string

Inherited from

HTMLElement.ariaColSpan

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1833


ariaCurrent

ariaCurrent: string

Inherited from

HTMLElement.ariaCurrent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1834


ariaDisabled

ariaDisabled: string

Inherited from

HTMLElement.ariaDisabled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1835


ariaExpanded

ariaExpanded: string

Inherited from

HTMLElement.ariaExpanded

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1836


ariaHasPopup

ariaHasPopup: string

Inherited from

HTMLElement.ariaHasPopup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1837


ariaHidden

ariaHidden: string

Inherited from

HTMLElement.ariaHidden

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1838


ariaKeyShortcuts

ariaKeyShortcuts: string

Inherited from

HTMLElement.ariaKeyShortcuts

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1839


ariaLabel

ariaLabel: string

Inherited from

HTMLElement.ariaLabel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1840


ariaLevel

ariaLevel: string

Inherited from

HTMLElement.ariaLevel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1841


ariaLive

ariaLive: string

Inherited from

HTMLElement.ariaLive

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1842


ariaModal

ariaModal: string

Inherited from

HTMLElement.ariaModal

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1843


ariaMultiLine

ariaMultiLine: string

Inherited from

HTMLElement.ariaMultiLine

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1844


ariaMultiSelectable

ariaMultiSelectable: string

Inherited from

HTMLElement.ariaMultiSelectable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1845


ariaOrientation

ariaOrientation: string

Inherited from

HTMLElement.ariaOrientation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1846


ariaPlaceholder

ariaPlaceholder: string

Inherited from

HTMLElement.ariaPlaceholder

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1847


ariaPosInSet

ariaPosInSet: string

Inherited from

HTMLElement.ariaPosInSet

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1848


ariaPressed

ariaPressed: string

Inherited from

HTMLElement.ariaPressed

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1849


ariaReadOnly

ariaReadOnly: string

Inherited from

HTMLElement.ariaReadOnly

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1850


ariaRequired

ariaRequired: string

Inherited from

HTMLElement.ariaRequired

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1851


ariaRoleDescription

ariaRoleDescription: string

Inherited from

HTMLElement.ariaRoleDescription

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1852


ariaRowCount

ariaRowCount: string

Inherited from

HTMLElement.ariaRowCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1853


ariaRowIndex

ariaRowIndex: string

Inherited from

HTMLElement.ariaRowIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1854


ariaRowSpan

ariaRowSpan: string

Inherited from

HTMLElement.ariaRowSpan

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1855


ariaSelected

ariaSelected: string

Inherited from

HTMLElement.ariaSelected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1856


ariaSetSize

ariaSetSize: string

Inherited from

HTMLElement.ariaSetSize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1857


ariaSort

ariaSort: string

Inherited from

HTMLElement.ariaSort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1858


ariaValueMax

ariaValueMax: string

Inherited from

HTMLElement.ariaValueMax

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1859


ariaValueMin

ariaValueMin: string

Inherited from

HTMLElement.ariaValueMin

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1860


ariaValueNow

ariaValueNow: string

Inherited from

HTMLElement.ariaValueNow

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1861


ariaValueText

ariaValueText: string

Inherited from

HTMLElement.ariaValueText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1862


assignedSlot

Readonly assignedSlot: HTMLSlotElement

Inherited from

HTMLElement.assignedSlot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:13103


attributes

Readonly attributes: NamedNodeMap

Inherited from

HTMLElement.attributes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4720


autocapitalize

autocapitalize: string

Inherited from

HTMLElement.autocapitalize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6135


autofocus

autofocus: boolean

Inherited from

HTMLElement.autofocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7335


baseURI

Readonly baseURI: string

Returns node's node document's document base URL.

Inherited from

HTMLElement.baseURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9649


childElementCount

Readonly childElementCount: number

Inherited from

HTMLElement.childElementCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10014


childNodes

Readonly childNodes: NodeListOf<ChildNode>

Returns the children.

Inherited from

HTMLElement.childNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9651


children

Readonly children: HTMLCollection

Returns the child elements.

Inherited from

HTMLElement.children

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10016


classList

Readonly classList: DOMTokenList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

Inherited from

HTMLElement.classList

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4722


className

className: string

Returns the value of element's class content attribute. Can be set to change it.

Inherited from

HTMLElement.className

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4724


clientHeight

Readonly clientHeight: number

Inherited from

HTMLElement.clientHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4725


clientLeft

Readonly clientLeft: number

Inherited from

HTMLElement.clientLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4726


clientTop

Readonly clientTop: number

Inherited from

HTMLElement.clientTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4727


clientWidth

Readonly clientWidth: number

Inherited from

HTMLElement.clientWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4728


contentEditable

contentEditable: string

Inherited from

HTMLElement.contentEditable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4839


dataset

Readonly dataset: DOMStringMap

Inherited from

HTMLElement.dataset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7336


dir

dir: string

Inherited from

HTMLElement.dir

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6136


draggable

draggable: boolean

Inherited from

HTMLElement.draggable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6137


enterKeyHint

enterKeyHint: string

Inherited from

HTMLElement.enterKeyHint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4840


firstChild

Readonly firstChild: ChildNode

Returns the first child.

Inherited from

HTMLElement.firstChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9653


firstElementChild

Readonly firstElementChild: Element

Returns the first child that is an element, and null otherwise.

Inherited from

HTMLElement.firstElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10018


hidden

hidden: boolean

Inherited from

HTMLElement.hidden

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6138


id

id: string

Returns the value of element's id content attribute. Can be set to change it.

Inherited from

HTMLElement.id

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4730


innerHTML

innerHTML: string

Inherited from

HTMLElement.innerHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8682


innerText

innerText: string

Inherited from

HTMLElement.innerText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6139


inputMode

inputMode: string

Inherited from

HTMLElement.inputMode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4841


isCancelled

Optional isCancelled: boolean

Defined in

packages/core/src/webapp/models/block.ts:18


isConnected

Readonly isConnected: boolean

Returns true if node is connected and false otherwise.

Inherited from

HTMLElement.isConnected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9655


isContentEditable

Readonly isContentEditable: boolean

Inherited from

HTMLElement.isContentEditable

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4842


lang

lang: string

Inherited from

HTMLElement.lang

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6140


lastChild

Readonly lastChild: ChildNode

Returns the last child.

Inherited from

HTMLElement.lastChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9657


lastElementChild

Readonly lastElementChild: Element

Returns the last child that is an element, and null otherwise.

Inherited from

HTMLElement.lastElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10020


localName

Readonly localName: string

Returns the local name.

Inherited from

HTMLElement.localName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4732


namespaceURI

Readonly namespaceURI: string

Returns the namespace.

Inherited from

HTMLElement.namespaceURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4734


nextElementSibling

Readonly nextElementSibling: Element

Returns the first following sibling that is an element, and null otherwise.

Inherited from

HTMLElement.nextElementSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9816


nextSibling

Readonly nextSibling: ChildNode

Returns the next sibling.

Inherited from

HTMLElement.nextSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9659


nodeName

Readonly nodeName: string

Returns a string appropriate for the type of node.

Inherited from

HTMLElement.nodeName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9661


nodeType

Readonly nodeType: number

Returns the type of node.

Inherited from

HTMLElement.nodeType

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9663


nodeValue

nodeValue: string

Inherited from

HTMLElement.nodeValue

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9664


nonce

Optional nonce: string

Inherited from

HTMLElement.nonce

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7337


offsetHeight

Readonly offsetHeight: number

Inherited from

HTMLElement.offsetHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6141


offsetLeft

Readonly offsetLeft: number

Inherited from

HTMLElement.offsetLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6142


offsetParent

Readonly offsetParent: Element

Inherited from

HTMLElement.offsetParent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6143


offsetTop

Readonly offsetTop: number

Inherited from

HTMLElement.offsetTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6144


offsetWidth

Readonly offsetWidth: number

Inherited from

HTMLElement.offsetWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6145


onabort

onabort: (ev: UIEvent) => any

Type declaration

▸ (ev): any

Fires when the user aborts the download.

Parameters
NameTypeDescription
evUIEventThe event.
Returns

any

Inherited from

HTMLElement.onabort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5454


onanimationcancel

onanimationcancel: (ev: AnimationEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evAnimationEvent
Returns

any

Inherited from

HTMLElement.onanimationcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5455


onanimationend

onanimationend: (ev: AnimationEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evAnimationEvent
Returns

any

Inherited from

HTMLElement.onanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5456


onanimationiteration

onanimationiteration: (ev: AnimationEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evAnimationEvent
Returns

any

Inherited from

HTMLElement.onanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5457


onanimationstart

onanimationstart: (ev: AnimationEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evAnimationEvent
Returns

any

Inherited from

HTMLElement.onanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5458


onauxclick

onauxclick: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evMouseEvent
Returns

any

Inherited from

HTMLElement.onauxclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5459


onblur

onblur: (ev: FocusEvent) => any

Type declaration

▸ (ev): any

Fires when the object loses the input focus.

Parameters
NameTypeDescription
evFocusEventThe focus event.
Returns

any

Inherited from

HTMLElement.onblur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5464


oncanplay

oncanplay: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when playback is possible, but would require further buffering.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.oncanplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5469


oncanplaythrough

oncanplaythrough: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.oncanplaythrough

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5470


onchange

onchange: (ev: Event) => any

Type declaration

▸ (ev): any

Fires when the contents of the object or selection have changed.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5475


onclick

onclick: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user clicks the left mouse button on the object

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5480


onclose

onclose: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onclose

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5481


oncontextmenu

oncontextmenu: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.oncontextmenu

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5486


oncopy

oncopy: (ev: ClipboardEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evClipboardEvent
Returns

any

Inherited from

HTMLElement.oncopy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4576


oncuechange

oncuechange: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.oncuechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5487


oncut

oncut: (ev: ClipboardEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evClipboardEvent
Returns

any

Inherited from

HTMLElement.oncut

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4577


ondblclick

ondblclick: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user double-clicks the object.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.ondblclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5492


ondrag

ondrag: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the source object continuously during a drag operation.

Parameters
NameTypeDescription
evDragEventThe event.
Returns

any

Inherited from

HTMLElement.ondrag

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5497


ondragend

ondragend: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the source object when the user releases the mouse at the close of a drag operation.

Parameters
NameTypeDescription
evDragEventThe event.
Returns

any

Inherited from

HTMLElement.ondragend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5502


ondragenter

ondragenter: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the target element when the user drags the object to a valid drop target.

Parameters
NameTypeDescription
evDragEventThe drag event.
Returns

any

Inherited from

HTMLElement.ondragenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5507


ondragleave

ondragleave: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Parameters
NameTypeDescription
evDragEventThe drag event.
Returns

any

Inherited from

HTMLElement.ondragleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5512


ondragover

ondragover: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the target element continuously while the user drags the object over a valid drop target.

Parameters
NameTypeDescription
evDragEventThe event.
Returns

any

Inherited from

HTMLElement.ondragover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5517


ondragstart

ondragstart: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Fires on the source object when the user starts to drag a text selection or selected object.

Parameters
NameTypeDescription
evDragEventThe event.
Returns

any

Inherited from

HTMLElement.ondragstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5522


ondrop

ondrop: (ev: DragEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evDragEvent
Returns

any

Inherited from

HTMLElement.ondrop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5523


ondurationchange

ondurationchange: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the duration attribute is updated.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.ondurationchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5528


onemptied

onemptied: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the media element is reset to its initial state.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onemptied

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5533


onended

onended: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the end of playback is reached.

Parameters
NameTypeDescription
evEventThe event
Returns

any

Inherited from

HTMLElement.onended

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5538


onerror

onerror: OnErrorEventHandlerNonNull

Fires when an error occurs during object loading.

param The event.

Inherited from

HTMLElement.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5543


onfocus

onfocus: (ev: FocusEvent) => any

Type declaration

▸ (ev): any

Fires when the object receives focus.

Parameters
NameTypeDescription
evFocusEventThe event.
Returns

any

Inherited from

HTMLElement.onfocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5548


onformdata

onformdata: (ev: FormDataEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evFormDataEvent
Returns

any

Inherited from

HTMLElement.onformdata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5549


onfullscreenchange

onfullscreenchange: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onfullscreenchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4735


onfullscreenerror

onfullscreenerror: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onfullscreenerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4736


ongotpointercapture

ongotpointercapture: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.ongotpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5550


oninput

oninput: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.oninput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5551


oninvalid

oninvalid: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.oninvalid

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5552


onkeydown

onkeydown: (ev: KeyboardEvent) => any

Type declaration

▸ (ev): any

Fires when the user presses a key.

Parameters
NameTypeDescription
evKeyboardEventThe keyboard event
Returns

any

Inherited from

HTMLElement.onkeydown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5557


onkeypress

onkeypress: (ev: KeyboardEvent) => any

Type declaration

▸ (ev): any

Fires when the user presses an alphanumeric key.

deprecated

Parameters
NameTypeDescription
evKeyboardEventThe event.
Returns

any

Inherited from

HTMLElement.onkeypress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5563


onkeyup

onkeyup: (ev: KeyboardEvent) => any

Type declaration

▸ (ev): any

Fires when the user releases a key.

Parameters
NameTypeDescription
evKeyboardEventThe keyboard event
Returns

any

Inherited from

HTMLElement.onkeyup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5568


onload

onload: (ev: Event) => any

Type declaration

▸ (ev): any

Fires immediately after the browser loads the object.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5573


onloadeddata

onloadeddata: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when media data is loaded at the current playback position.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onloadeddata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5578


onloadedmetadata

onloadedmetadata: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the duration and dimensions of the media have been determined.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onloadedmetadata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5583


onloadstart

onloadstart: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when Internet Explorer begins looking for media data.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onloadstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5588


onlostpointercapture

onlostpointercapture: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onlostpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5589


onmousedown

onmousedown: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user clicks the object with either mouse button.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onmousedown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5594


onmouseenter

onmouseenter: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evMouseEvent
Returns

any

Inherited from

HTMLElement.onmouseenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5595


onmouseleave

onmouseleave: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evMouseEvent
Returns

any

Inherited from

HTMLElement.onmouseleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5596


onmousemove

onmousemove: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user moves the mouse over the object.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onmousemove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5601


onmouseout

onmouseout: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user moves the mouse pointer outside the boundaries of the object.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onmouseout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5606


onmouseover

onmouseover: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user moves the mouse pointer into the object.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onmouseover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5611


onmouseup

onmouseup: (ev: MouseEvent) => any

Type declaration

▸ (ev): any

Fires when the user releases a mouse button while the mouse is over the object.

Parameters
NameTypeDescription
evMouseEventThe mouse event.
Returns

any

Inherited from

HTMLElement.onmouseup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5616


onpaste

onpaste: (ev: ClipboardEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evClipboardEvent
Returns

any

Inherited from

HTMLElement.onpaste

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4578


onpause

onpause: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when playback is paused.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onpause

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5621


onplay

onplay: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the play method is requested.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5626


onplaying

onplaying: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the audio or video has started playing.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onplaying

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5631


onpointercancel

onpointercancel: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointercancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5632


onpointerdown

onpointerdown: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerdown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5633


onpointerenter

onpointerenter: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5634


onpointerleave

onpointerleave: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5635


onpointermove

onpointermove: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointermove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5636


onpointerout

onpointerout: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5637


onpointerover

onpointerover: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5638


onpointerup

onpointerup: (ev: PointerEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evPointerEvent
Returns

any

Inherited from

HTMLElement.onpointerup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5639


onprogress

onprogress: (ev: ProgressEvent<EventTarget>) => any

Type declaration

▸ (ev): any

Occurs to indicate progress while downloading media data.

Parameters
NameTypeDescription
evProgressEvent<EventTarget>The event.
Returns

any

Inherited from

HTMLElement.onprogress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5644


onratechange

onratechange: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the playback rate is increased or decreased.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onratechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5649


onreset

onreset: (ev: Event) => any

Type declaration

▸ (ev): any

Fires when the user resets a form.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onreset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5654


onresize

onresize: (ev: UIEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evUIEvent
Returns

any

Inherited from

HTMLElement.onresize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5655


onscroll

onscroll: (ev: Event) => any

Type declaration

▸ (ev): any

Fires when the user repositions the scroll box in the scroll bar on the object.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onscroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5660


onseeked

onseeked: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the seek operation ends.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onseeked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5665


onseeking

onseeking: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the current playback position is moved.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onseeking

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5670


onselect

onselect: (ev: Event) => any

Type declaration

▸ (ev): any

Fires when the current selection changes.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onselect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5675


onselectionchange

onselectionchange: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onselectionchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5676


onselectstart

onselectstart: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onselectstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5677


onstalled

onstalled: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the download has stopped.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onstalled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5682


onsubmit

onsubmit: (ev: SubmitEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evSubmitEvent
Returns

any

Inherited from

HTMLElement.onsubmit

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5683


onsuspend

onsuspend: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs if the load operation has been intentionally halted.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onsuspend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5688


ontimeupdate

ontimeupdate: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs to indicate the current playback position.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.ontimeupdate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5693


ontoggle

ontoggle: (ev: Event) => any

Type declaration

▸ (ev): any

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.ontoggle

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5694


ontouchcancel

Optional ontouchcancel: (ev: TouchEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTouchEvent
Returns

any

Inherited from

HTMLElement.ontouchcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5695


ontouchend

Optional ontouchend: (ev: TouchEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTouchEvent
Returns

any

Inherited from

HTMLElement.ontouchend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5696


ontouchmove

Optional ontouchmove: (ev: TouchEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTouchEvent
Returns

any

Inherited from

HTMLElement.ontouchmove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5697


ontouchstart

Optional ontouchstart: (ev: TouchEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTouchEvent
Returns

any

Inherited from

HTMLElement.ontouchstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5698


ontransitioncancel

ontransitioncancel: (ev: TransitionEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTransitionEvent
Returns

any

Inherited from

HTMLElement.ontransitioncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5699


ontransitionend

ontransitionend: (ev: TransitionEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTransitionEvent
Returns

any

Inherited from

HTMLElement.ontransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5700


ontransitionrun

ontransitionrun: (ev: TransitionEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTransitionEvent
Returns

any

Inherited from

HTMLElement.ontransitionrun

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5701


ontransitionstart

ontransitionstart: (ev: TransitionEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evTransitionEvent
Returns

any

Inherited from

HTMLElement.ontransitionstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5702


onvolumechange

onvolumechange: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when the volume is changed, or playback is muted or unmuted.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onvolumechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5707


onwaiting

onwaiting: (ev: Event) => any

Type declaration

▸ (ev): any

Occurs when playback stops because the next frame of a video resource is not available.

Parameters
NameTypeDescription
evEventThe event.
Returns

any

Inherited from

HTMLElement.onwaiting

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5712


onwebkitanimationend

onwebkitanimationend: (ev: Event) => any

Type declaration

▸ (ev): any

deprecated This is a legacy alias of onanimationend.

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onwebkitanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5714


onwebkitanimationiteration

onwebkitanimationiteration: (ev: Event) => any

Type declaration

▸ (ev): any

deprecated This is a legacy alias of onanimationiteration.

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onwebkitanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5716


onwebkitanimationstart

onwebkitanimationstart: (ev: Event) => any

Type declaration

▸ (ev): any

deprecated This is a legacy alias of onanimationstart.

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onwebkitanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5718


onwebkittransitionend

onwebkittransitionend: (ev: Event) => any

Type declaration

▸ (ev): any

deprecated This is a legacy alias of ontransitionend.

Parameters
NameType
evEvent
Returns

any

Inherited from

HTMLElement.onwebkittransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5720


onwheel

onwheel: (ev: WheelEvent) => any

Type declaration

▸ (ev): any

Parameters
NameType
evWheelEvent
Returns

any

Inherited from

HTMLElement.onwheel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5721


outerHTML

outerHTML: string

Inherited from

HTMLElement.outerHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4737


outerText

outerText: string

Inherited from

HTMLElement.outerText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6146


ownerDocument

Readonly ownerDocument: Document

Inherited from

HTMLElement.ownerDocument

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4738


parentElement

Readonly parentElement: HTMLElement

Returns the parent element.

Inherited from

HTMLElement.parentElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9668


parentNode

Readonly parentNode: ParentNode

Returns the parent.

Inherited from

HTMLElement.parentNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9670


part

Readonly part: DOMTokenList

Inherited from

HTMLElement.part

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4739


prefix

Readonly prefix: string

Returns the namespace prefix.

Inherited from

HTMLElement.prefix

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4741


previousElementSibling

Readonly previousElementSibling: Element

Returns the first preceding sibling that is an element, and null otherwise.

Inherited from

HTMLElement.previousElementSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9818


previousSibling

Readonly previousSibling: ChildNode

Returns the previous sibling.

Inherited from

HTMLElement.previousSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9672


scrollHeight

Readonly scrollHeight: number

Inherited from

HTMLElement.scrollHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4742


scrollLeft

scrollLeft: number

Inherited from

HTMLElement.scrollLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4743


scrollTop

scrollTop: number

Inherited from

HTMLElement.scrollTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4744


scrollWidth

Readonly scrollWidth: number

Inherited from

HTMLElement.scrollWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4745


shadowRoot

Readonly shadowRoot: ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

Inherited from

HTMLElement.shadowRoot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4747


slot

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

Inherited from

HTMLElement.slot

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4749


spellcheck

spellcheck: boolean

Inherited from

HTMLElement.spellcheck

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6147


style

Readonly style: CSSStyleDeclaration

Inherited from

HTMLElement.style

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4835


tabIndex

tabIndex: number

Inherited from

HTMLElement.tabIndex

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7338


tagName

Readonly tagName: string

Returns the HTML-uppercased qualified name.

Inherited from

HTMLElement.tagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4751


textContent

textContent: string

Inherited from

HTMLElement.textContent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9673


title

title: string

Inherited from

HTMLElement.title

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6148


translate

translate: boolean

Inherited from

HTMLElement.translate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6149

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

Type parameters

NameType
Kextends keyof HTMLElementEventMap

Parameters

NameType
typeK
listener(ev: HTMLElementEventMap[K]) => any
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

HTMLElement.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6152

addEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

HTMLElement.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6153


after

after(...nodes): void

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.after

Defined in

node_modules/typescript/lib/lib.dom.d.ts:3451


animate

animate(keyframes, options?): Animation

Parameters

NameType
keyframesKeyframe[] | PropertyIndexedKeyframes
options?number | KeyframeAnimationOptions

Returns

Animation

Inherited from

HTMLElement.animate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1948


append

append(...nodes): void

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.append

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10026


appendChild

appendChild<T>(node): T

Type parameters

NameType
Textends Node

Parameters

NameType
nodeT

Returns

T

Inherited from

HTMLElement.appendChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9674


attachInternals

attachInternals(): ElementInternals

Returns

ElementInternals

Inherited from

HTMLElement.attachInternals

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6150


attachShadow

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

Parameters

NameType
initShadowRootInit

Returns

ShadowRoot

Inherited from

HTMLElement.attachShadow

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4753


before

before(...nodes): void

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.before

Defined in

node_modules/typescript/lib/lib.dom.d.ts:3457


blur

blur(): void

Returns

void

Inherited from

HTMLElement.blur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7339


click

click(): void

Returns

void

Inherited from

HTMLElement.click

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6151


cloneNode

cloneNode(deep?): Node

Returns a copy of node. If deep is true, the copy also includes the node's descendants.

Parameters

NameType
deep?boolean

Returns

Node

Inherited from

HTMLElement.cloneNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9676


closest

closest<K>(selector): HTMLElementTagNameMap[K]

Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorK

Returns

HTMLElementTagNameMap[K]

Inherited from

HTMLElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4755

closest<K>(selector): SVGElementTagNameMap[K]

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorK

Returns

SVGElementTagNameMap[K]

Inherited from

HTMLElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4756

closest<E>(selectors): E

Type parameters

NameType
Eextends Element = Element

Parameters

NameType
selectorsstring

Returns

E

Inherited from

HTMLElement.closest

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4757


compareDocumentPosition

compareDocumentPosition(other): number

Returns a bitmask indicating the position of other relative to node.

Parameters

NameType
otherNode

Returns

number

Inherited from

HTMLElement.compareDocumentPosition

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9678


contains

contains(other): boolean

Returns true if other is an inclusive descendant of node, and false otherwise.

Parameters

NameType
otherNode

Returns

boolean

Inherited from

HTMLElement.contains

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9680


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

NameType
eventEvent

Returns

boolean

Inherited from

HTMLElement.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4983


focus

focus(options?): void

Parameters

NameType
options?FocusOptions

Returns

void

Inherited from

HTMLElement.focus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7340


getAnimations

getAnimations(options?): Animation[]

Parameters

NameType
options?GetAnimationsOptions

Returns

Animation[]

Inherited from

HTMLElement.getAnimations

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1949


getAttribute

getAttribute(qualifiedName): string

Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

Parameters

NameType
qualifiedNamestring

Returns

string

Inherited from

HTMLElement.getAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4759


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

NameType
namespacestring
localNamestring

Returns

string

Inherited from

HTMLElement.getAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4761


getAttributeNames

getAttributeNames(): string[]

Returns the qualified names of all element's attributes. Can contain duplicates.

Returns

string[]

Inherited from

HTMLElement.getAttributeNames

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4763


getAttributeNode

getAttributeNode(qualifiedName): Attr

Parameters

NameType
qualifiedNamestring

Returns

Attr

Inherited from

HTMLElement.getAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4764


getAttributeNodeNS

getAttributeNodeNS(namespace, localName): Attr

Parameters

NameType
namespacestring
localNamestring

Returns

Attr

Inherited from

HTMLElement.getAttributeNodeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4765


getBoundingClientRect

getBoundingClientRect(): DOMRect

Returns

DOMRect

Inherited from

HTMLElement.getBoundingClientRect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4766


getClientRects

getClientRects(): DOMRectList

Returns

DOMRectList

Inherited from

HTMLElement.getClientRects

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4767


getElementsByClassName

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

Parameters

NameType
classNamesstring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLElement.getElementsByClassName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4769


getElementsByTagName

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4770

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
qualifiedNameK

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

HTMLElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4771

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

NameType
qualifiedNamestring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLElement.getElementsByTagName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4772


getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

Parameters

NameType
namespaceURI"http://www.w3.org/1999/xhtml"
localNamestring

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

HTMLElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4773

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

NameType
namespaceURI"http://www.w3.org/2000/svg"
localNamestring

Returns

HTMLCollectionOf<SVGElement>

Inherited from

HTMLElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4774

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

NameType
namespacestring
localNamestring

Returns

HTMLCollectionOf<Element>

Inherited from

HTMLElement.getElementsByTagNameNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4775


getRootNode

getRootNode(options?): Node

Returns node's root.

Parameters

NameType
options?GetRootNodeOptions

Returns

Node

Inherited from

HTMLElement.getRootNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9682


hasAttribute

hasAttribute(qualifiedName): boolean

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

Parameters

NameType
qualifiedNamestring

Returns

boolean

Inherited from

HTMLElement.hasAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4777


hasAttributeNS

hasAttributeNS(namespace, localName): boolean

Returns true if element has an attribute whose namespace is namespace and local name is localName.

Parameters

NameType
namespacestring
localNamestring

Returns

boolean

Inherited from

HTMLElement.hasAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4779


hasAttributes

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

Returns

boolean

Inherited from

HTMLElement.hasAttributes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4781


hasChildNodes

hasChildNodes(): boolean

Returns whether node has children.

Returns

boolean

Inherited from

HTMLElement.hasChildNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9684


hasPointerCapture

hasPointerCapture(pointerId): boolean

Parameters

NameType
pointerIdnumber

Returns

boolean

Inherited from

HTMLElement.hasPointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4782


insertAdjacentElement

insertAdjacentElement(where, element): Element

Parameters

NameType
whereInsertPosition
elementElement

Returns

Element

Inherited from

HTMLElement.insertAdjacentElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4783


insertAdjacentHTML

insertAdjacentHTML(position, text): void

Parameters

NameType
positionInsertPosition
textstring

Returns

void

Inherited from

HTMLElement.insertAdjacentHTML

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4784


insertAdjacentText

insertAdjacentText(where, data): void

Parameters

NameType
whereInsertPosition
datastring

Returns

void

Inherited from

HTMLElement.insertAdjacentText

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4785


insertBefore

insertBefore<T>(node, child): T

Type parameters

NameType
Textends Node

Parameters

NameType
nodeT
childNode

Returns

T

Inherited from

HTMLElement.insertBefore

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9685


isDefaultNamespace

isDefaultNamespace(namespace): boolean

Parameters

NameType
namespacestring

Returns

boolean

Inherited from

HTMLElement.isDefaultNamespace

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9686


isEqualNode

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

Parameters

NameType
otherNodeNode

Returns

boolean

Inherited from

HTMLElement.isEqualNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9688


isSameNode

isSameNode(otherNode): boolean

Parameters

NameType
otherNodeNode

Returns

boolean

Inherited from

HTMLElement.isSameNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9689


lookupNamespaceURI

lookupNamespaceURI(prefix): string

Parameters

NameType
prefixstring

Returns

string

Inherited from

HTMLElement.lookupNamespaceURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9690


lookupPrefix

lookupPrefix(namespace): string

Parameters

NameType
namespacestring

Returns

string

Inherited from

HTMLElement.lookupPrefix

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9691


matches

matches(selectors): boolean

Returns true if matching selectors against element's root yields element, and false otherwise.

Parameters

NameType
selectorsstring

Returns

boolean

Inherited from

HTMLElement.matches

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4787


normalize

normalize(): void

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

Returns

void

Inherited from

HTMLElement.normalize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9693


prepend

prepend(...nodes): void

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.prepend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10032


querySelector

querySelector<K>(selectors): HTMLElementTagNameMap[K]

Returns the first element that is a descendant of node that matches selectors.

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

HTMLElementTagNameMap[K]

Inherited from

HTMLElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10034

querySelector<K>(selectors): SVGElementTagNameMap[K]

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorsK

Returns

SVGElementTagNameMap[K]

Inherited from

HTMLElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10035

querySelector<E>(selectors): E

Type parameters

NameType
Eextends Element = Element

Parameters

NameType
selectorsstring

Returns

E

Inherited from

HTMLElement.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10036


querySelectorAll

querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>

Returns all element descendants of node that match selectors.

Type parameters

NameType
Kextends keyof HTMLElementTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

HTMLElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10038

querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>

Type parameters

NameType
Kextends keyof SVGElementTagNameMap

Parameters

NameType
selectorsK

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

HTMLElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10039

querySelectorAll<E>(selectors): NodeListOf<E>

Type parameters

NameType
Eextends Element = Element

Parameters

NameType
selectorsstring

Returns

NodeListOf<E>

Inherited from

HTMLElement.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10040


releasePointerCapture

releasePointerCapture(pointerId): void

Parameters

NameType
pointerIdnumber

Returns

void

Inherited from

HTMLElement.releasePointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4788


remove

remove(): void

Removes node.

Returns

void

Inherited from

HTMLElement.remove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:3459


removeAttribute

removeAttribute(qualifiedName): void

Removes element's first attribute whose qualified name is qualifiedName.

Parameters

NameType
qualifiedNamestring

Returns

void

Inherited from

HTMLElement.removeAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4790


removeAttributeNS

removeAttributeNS(namespace, localName): void

Removes element's attribute whose namespace is namespace and local name is localName.

Parameters

NameType
namespacestring
localNamestring

Returns

void

Inherited from

HTMLElement.removeAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4792


removeAttributeNode

removeAttributeNode(attr): Attr

Parameters

NameType
attrAttr

Returns

Attr

Inherited from

HTMLElement.removeAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4793


removeChild

removeChild<T>(child): T

Type parameters

NameType
Textends Node

Parameters

NameType
childT

Returns

T

Inherited from

HTMLElement.removeChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9694


removeEventListener

removeEventListener<K>(type, listener, options?): void

Type parameters

NameType
Kextends keyof HTMLElementEventMap

Parameters

NameType
typeK
listener(ev: HTMLElementEventMap[K]) => any
options?boolean | EventListenerOptions

Returns

void

Inherited from

HTMLElement.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6154

removeEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns

void

Inherited from

HTMLElement.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6155


replaceChild

replaceChild<T>(node, child): T

Type parameters

NameType
Textends Node

Parameters

NameType
nodeNode
childT

Returns

T

Inherited from

HTMLElement.replaceChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9695


replaceChildren

replaceChildren(...nodes): void

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

Parameters

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.replaceChildren

Defined in

node_modules/typescript/lib/lib.dom.d.ts:10046


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

NameType
...nodes(string | Node)[]

Returns

void

Inherited from

HTMLElement.replaceWith

Defined in

node_modules/typescript/lib/lib.dom.d.ts:3465


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

NameType
options?FullscreenOptions

Returns

Promise<void>

Inherited from

HTMLElement.requestFullscreen

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4799


requestPointerLock

requestPointerLock(): void

Returns

void

Inherited from

HTMLElement.requestPointerLock

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4800


scroll

scroll(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLElement.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4801

scroll(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLElement.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4802


scrollBy

scrollBy(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLElement.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4803

scrollBy(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLElement.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4804


scrollIntoView

scrollIntoView(arg?): void

Parameters

NameType
arg?boolean | ScrollIntoViewOptions

Returns

void

Inherited from

HTMLElement.scrollIntoView

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4805


scrollTo

scrollTo(options?): void

Parameters

NameType
options?ScrollToOptions

Returns

void

Inherited from

HTMLElement.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4806

scrollTo(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Inherited from

HTMLElement.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4807


setAttribute

setAttribute(qualifiedName, value): void

Sets the value of element's first attribute whose qualified name is qualifiedName to value.

Parameters

NameType
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLElement.setAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4809


setAttributeNS

setAttributeNS(namespace, qualifiedName, value): void

Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

Parameters

NameType
namespacestring
qualifiedNamestring
valuestring

Returns

void

Inherited from

HTMLElement.setAttributeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4811


setAttributeNode

setAttributeNode(attr): Attr

Parameters

NameType
attrAttr

Returns

Attr

Inherited from

HTMLElement.setAttributeNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4812


setAttributeNodeNS

setAttributeNodeNS(attr): Attr

Parameters

NameType
attrAttr

Returns

Attr

Inherited from

HTMLElement.setAttributeNodeNS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4813


setPointerCapture

setPointerCapture(pointerId): void

Parameters

NameType
pointerIdnumber

Returns

void

Inherited from

HTMLElement.setPointerCapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4814


toggleAttribute

toggleAttribute(qualifiedName, force?): boolean

If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

Returns true if qualifiedName is now present, and false otherwise.

Parameters

NameType
qualifiedNamestring
force?boolean

Returns

boolean

Inherited from

HTMLElement.toggleAttribute

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4820


webkitMatchesSelector

webkitMatchesSelector(selectors): boolean

deprecated This is a legacy alias of matches.

Parameters

NameType
selectorsstring

Returns

boolean

Inherited from

HTMLElement.webkitMatchesSelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:4822