Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / ROSHost

Interface: ROSHost

The RealityOS host element, normally a ROSPlayer, but could be a custom type wrapping a WebGPURenderer. Communicates with plugins by exposing key properties, methods and events. The ROSHost never need to know any implmentation details about plugins. This loose coupling will make keeping plugins compatible over time easier.

Extends

  • Element

Properties

ariaAtomic

ariaAtomic: null | string

MDN Reference

Inherited from

Element.ariaAtomic

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2229


ariaAutoComplete

ariaAutoComplete: null | string

MDN Reference

Inherited from

Element.ariaAutoComplete

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2231


ariaBrailleLabel

ariaBrailleLabel: null | string

MDN Reference

Inherited from

Element.ariaBrailleLabel

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2233


ariaBrailleRoleDescription

ariaBrailleRoleDescription: null | string

MDN Reference

Inherited from

Element.ariaBrailleRoleDescription

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2235


ariaBusy

ariaBusy: null | string

MDN Reference

Inherited from

Element.ariaBusy

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2237


ariaChecked

ariaChecked: null | string

MDN Reference

Inherited from

Element.ariaChecked

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2239


ariaColCount

ariaColCount: null | string

MDN Reference

Inherited from

Element.ariaColCount

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2241


ariaColIndex

ariaColIndex: null | string

MDN Reference

Inherited from

Element.ariaColIndex

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2243


ariaColSpan

ariaColSpan: null | string

MDN Reference

Inherited from

Element.ariaColSpan

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2245


ariaCurrent

ariaCurrent: null | string

MDN Reference

Inherited from

Element.ariaCurrent

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2247


ariaDescription

ariaDescription: null | string

MDN Reference

Inherited from

Element.ariaDescription

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2249


ariaDisabled

ariaDisabled: null | string

MDN Reference

Inherited from

Element.ariaDisabled

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2251


ariaExpanded

ariaExpanded: null | string

MDN Reference

Inherited from

Element.ariaExpanded

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2253


ariaHasPopup

ariaHasPopup: null | string

MDN Reference

Inherited from

Element.ariaHasPopup

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2255


ariaHidden

ariaHidden: null | string

MDN Reference

Inherited from

Element.ariaHidden

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2257


ariaInvalid

ariaInvalid: null | string

Inherited from

Element.ariaInvalid

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2258


ariaKeyShortcuts

ariaKeyShortcuts: null | string

MDN Reference

Inherited from

Element.ariaKeyShortcuts

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2260


ariaLabel

ariaLabel: null | string

MDN Reference

Inherited from

Element.ariaLabel

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2262


ariaLevel

ariaLevel: null | string

MDN Reference

Inherited from

Element.ariaLevel

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2264


ariaLive

ariaLive: null | string

MDN Reference

Inherited from

Element.ariaLive

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2266


ariaModal

ariaModal: null | string

MDN Reference

Inherited from

Element.ariaModal

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2268


ariaMultiLine

ariaMultiLine: null | string

MDN Reference

Inherited from

Element.ariaMultiLine

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2270


ariaMultiSelectable

ariaMultiSelectable: null | string

MDN Reference

Inherited from

Element.ariaMultiSelectable

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2272


ariaOrientation

ariaOrientation: null | string

MDN Reference

Inherited from

Element.ariaOrientation

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2274


ariaPlaceholder

ariaPlaceholder: null | string

MDN Reference

Inherited from

Element.ariaPlaceholder

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2276


ariaPosInSet

ariaPosInSet: null | string

MDN Reference

Inherited from

Element.ariaPosInSet

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2278


ariaPressed

ariaPressed: null | string

MDN Reference

Inherited from

Element.ariaPressed

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2280


ariaReadOnly

ariaReadOnly: null | string

MDN Reference

Inherited from

Element.ariaReadOnly

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2282


ariaRequired

ariaRequired: null | string

MDN Reference

Inherited from

Element.ariaRequired

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2284


ariaRoleDescription

ariaRoleDescription: null | string

MDN Reference

Inherited from

Element.ariaRoleDescription

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2286


ariaRowCount

ariaRowCount: null | string

MDN Reference

Inherited from

Element.ariaRowCount

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2288


ariaRowIndex

ariaRowIndex: null | string

MDN Reference

Inherited from

Element.ariaRowIndex

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2290


ariaRowSpan

ariaRowSpan: null | string

MDN Reference

Inherited from

Element.ariaRowSpan

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2292


ariaSelected

ariaSelected: null | string

MDN Reference

Inherited from

Element.ariaSelected

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2294


ariaSetSize

ariaSetSize: null | string

MDN Reference

Inherited from

Element.ariaSetSize

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2296


ariaSort

ariaSort: null | string

MDN Reference

Inherited from

Element.ariaSort

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2298


ariaValueMax

ariaValueMax: null | string

MDN Reference

Inherited from

Element.ariaValueMax

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2300


ariaValueMin

ariaValueMin: null | string

MDN Reference

Inherited from

Element.ariaValueMin

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2302


ariaValueNow

ariaValueNow: null | string

MDN Reference

Inherited from

Element.ariaValueNow

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2304


ariaValueText

ariaValueText: null | string

MDN Reference

Inherited from

Element.ariaValueText

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2306


assignedSlot

readonly assignedSlot: null | HTMLSlotElement

MDN Reference

Inherited from

Element.assignedSlot

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:21074


ATTRIBUTE_NODE

readonly ATTRIBUTE_NODE: 2

Inherited from

Element.ATTRIBUTE_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15963


attributes

readonly attributes: NamedNodeMap

MDN Reference

Inherited from

Element.attributes

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7687


baseURI

readonly baseURI: string

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

MDN Reference

Inherited from

Element.baseURI

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15832


camera

camera: Camera

Defined in

packages/charm/src/webComponents/plugin.ts:24


CDATA_SECTION_NODE

readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Inherited from

Element.CDATA_SECTION_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15967


childElementCount

readonly childElementCount: number

MDN Reference

Inherited from

Element.childElementCount

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16525


childNodes

readonly childNodes: NodeListOf<ChildNode>

Returns the children.

MDN Reference

Inherited from

Element.childNodes

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15838


children

readonly children: HTMLCollection

Returns the child elements.

MDN Reference

Inherited from

Element.children

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16531


classList

readonly classList: DOMTokenList

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

MDN Reference

Inherited from

Element.classList

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7693


className

className: string

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

MDN Reference

Inherited from

Element.className

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7699


clientHeight

readonly clientHeight: number

MDN Reference

Inherited from

Element.clientHeight

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7701


clientLeft

readonly clientLeft: number

MDN Reference

Inherited from

Element.clientLeft

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7703


clientTop

readonly clientTop: number

MDN Reference

Inherited from

Element.clientTop

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7705


clientWidth

readonly clientWidth: number

MDN Reference

Inherited from

Element.clientWidth

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7707


COMMENT_NODE

readonly COMMENT_NODE: 8

node is a Comment node.

Inherited from

Element.COMMENT_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15973


debugInfo

debugInfo: DebugInfo

Defined in

packages/charm/src/webComponents/plugin.ts:31


DOCUMENT_FRAGMENT_NODE

readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Inherited from

Element.DOCUMENT_FRAGMENT_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15979


DOCUMENT_NODE

readonly DOCUMENT_NODE: 9

node is a document.

Inherited from

Element.DOCUMENT_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15975


DOCUMENT_POSITION_CONTAINED_BY

readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Inherited from

Element.DOCUMENT_POSITION_CONTAINED_BY

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15990


DOCUMENT_POSITION_CONTAINS

readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from

Element.DOCUMENT_POSITION_CONTAINS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15988


DOCUMENT_POSITION_DISCONNECTED

readonly DOCUMENT_POSITION_DISCONNECTED: 1

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

Inherited from

Element.DOCUMENT_POSITION_DISCONNECTED

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15982


DOCUMENT_POSITION_FOLLOWING

readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Inherited from

Element.DOCUMENT_POSITION_FOLLOWING

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15986


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Inherited from

Element.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15991


DOCUMENT_POSITION_PRECEDING

readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Inherited from

Element.DOCUMENT_POSITION_PRECEDING

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15984


DOCUMENT_TYPE_NODE

readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Inherited from

Element.DOCUMENT_TYPE_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15977


ELEMENT_NODE

readonly ELEMENT_NODE: 1

node is an element.

Inherited from

Element.ELEMENT_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15962


ENTITY_NODE

readonly ENTITY_NODE: 6

Inherited from

Element.ENTITY_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15969


ENTITY_REFERENCE_NODE

readonly ENTITY_REFERENCE_NODE: 5

Inherited from

Element.ENTITY_REFERENCE_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15968


firstChild

readonly firstChild: null | ChildNode

Returns the first child.

MDN Reference

Inherited from

Element.firstChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15844


firstElementChild

readonly firstElementChild: null | Element

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

MDN Reference

Inherited from

Element.firstElementChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16537


id

id: string

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

MDN Reference

Inherited from

Element.id

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7713


innerHTML

innerHTML: string

MDN Reference

Inherited from

Element.innerHTML

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7715


isConnected

readonly isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

Element.isConnected

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15850


lastChild

readonly lastChild: null | ChildNode

Returns the last child.

MDN Reference

Inherited from

Element.lastChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15856


lastElementChild

readonly lastElementChild: null | Element

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

MDN Reference

Inherited from

Element.lastElementChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16543


localName

readonly localName: string

Returns the local name.

MDN Reference

Inherited from

Element.localName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7721


models

models: object

add()

Parameters

node: Node

sourceModel: unknown

url: string

Returns

void

remove()

Parameters

node: Node

Returns

void

Defined in

packages/charm/src/webComponents/plugin.ts:26


namespaceURI

readonly namespaceURI: null | string

Returns the namespace.

MDN Reference

Inherited from

Element.namespaceURI

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7727


nextElementSibling

readonly nextElementSibling: null | Element

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

MDN Reference

Inherited from

Element.nextElementSibling

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16112


nextSibling

readonly nextSibling: null | ChildNode

Returns the next sibling.

MDN Reference

Inherited from

Element.nextSibling

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15862


nodeName

readonly nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

Element.nodeName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15868


nodeType

readonly nodeType: number

Returns the type of node.

MDN Reference

Inherited from

Element.nodeType

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15874


nodeValue

nodeValue: null | string

MDN Reference

Inherited from

Element.nodeValue

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15876


NOTATION_NODE

readonly NOTATION_NODE: 12

Inherited from

Element.NOTATION_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15980


onfullscreenchange

onfullscreenchange: null | (this, ev) => any

MDN Reference

Inherited from

Element.onfullscreenchange

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7729


onfullscreenerror

onfullscreenerror: null | (this, ev) => any

MDN Reference

Inherited from

Element.onfullscreenerror

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7731


outerHTML

outerHTML: string

MDN Reference

Inherited from

Element.outerHTML

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7733


ownerDocument

readonly ownerDocument: Document

Returns the node document. Returns null for documents.

MDN Reference

Inherited from

Element.ownerDocument

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7734


parentElement

readonly parentElement: null | HTMLElement

Returns the parent element.

MDN Reference

Inherited from

Element.parentElement

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15888


parentNode

readonly parentNode: null | ParentNode

Returns the parent.

MDN Reference

Inherited from

Element.parentNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15894


part

readonly part: DOMTokenList

MDN Reference

Inherited from

Element.part

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7736


prefix

readonly prefix: null | string

Returns the namespace prefix.

MDN Reference

Inherited from

Element.prefix

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7742


previousElementSibling

readonly previousElementSibling: null | Element

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

MDN Reference

Inherited from

Element.previousElementSibling

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16118


previousSibling

readonly previousSibling: null | ChildNode

Returns the previous sibling.

MDN Reference

Inherited from

Element.previousSibling

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15900


PROCESSING_INSTRUCTION_NODE

readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Inherited from

Element.PROCESSING_INSTRUCTION_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15971


role

role: null | string

Inherited from

Element.role

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2307


scrollHeight

readonly scrollHeight: number

MDN Reference

Inherited from

Element.scrollHeight

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7744


scrollLeft

scrollLeft: number

MDN Reference

Inherited from

Element.scrollLeft

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7746


scrollTop

scrollTop: number

MDN Reference

Inherited from

Element.scrollTop

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7748


scrollWidth

readonly scrollWidth: number

MDN Reference

Inherited from

Element.scrollWidth

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7750


shadowRoot

readonly shadowRoot: null | ShadowRoot

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

MDN Reference

Inherited from

Element.shadowRoot

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7756


slot

slot: string

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

MDN Reference

Inherited from

Element.slot

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7762


tagName

readonly tagName: string

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from

Element.tagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7768


TEXT_NODE

readonly TEXT_NODE: 3

node is a Text node.

Inherited from

Element.TEXT_NODE

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15965


textContent

textContent: null | string

MDN Reference

Inherited from

Element.textContent

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15902

Methods

addEventListener()

addEventListener<K>(type, listener): void

Type Parameters

K extends keyof ROSHostEventMap

Parameters

type: K

listener

Returns

void

Overrides

Element.addEventListener

Defined in

packages/charm/src/webComponents/plugin.ts:33


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.after

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:5712


animate()

animate(keyframes, options?): Animation

MDN Reference

Parameters

keyframes: null | Keyframe[] | PropertyIndexedKeyframes

options?: number | KeyframeAnimationOptions

Returns

Animation

Inherited from

Element.animate

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2459


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.append

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16551


appendChild()

appendChild<T>(node): T

MDN Reference

Type Parameters

T extends Node

Parameters

node: T

Returns

T

Inherited from

Element.appendChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15904


attachShadow()

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

MDN Reference

Parameters

init: ShadowRootInit

Returns

ShadowRoot

Inherited from

Element.attachShadow

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7774


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.before

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:5720


checkVisibility()

checkVisibility(options?): boolean

MDN Reference

Parameters

options?: CheckVisibilityOptions

Returns

boolean

Inherited from

Element.checkVisibility

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7776


cloneNode()

cloneNode(deep?): Node

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

MDN Reference

Parameters

deep?: boolean

Returns

Node

Inherited from

Element.cloneNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15910


closest()

closest(selector)

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

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

MDN Reference

Type Parameters

K extends keyof HTMLElementTagNameMap

Parameters

selector: K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

Element.closest

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7782

closest(selector)

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

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters

selector: K

Returns

null | SVGElementTagNameMap[K]

Inherited from

Element.closest

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7783

closest(selector)

closest<K>(selector): null | MathMLElementTagNameMap[K]

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters

selector: K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

Element.closest

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7784

closest(selectors)

closest<E>(selectors): null | E

Type Parameters

E extends Element = Element

Parameters

selectors: string

Returns

null | E

Inherited from

Element.closest

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7785


compareDocumentPosition()

compareDocumentPosition(other): number

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

MDN Reference

Parameters

other: Node

Returns

number

Inherited from

Element.compareDocumentPosition

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15916


computedStyleMap()

computedStyleMap(): StylePropertyMapReadOnly

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

Element.computedStyleMap

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7787


contains()

contains(other): boolean

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

MDN Reference

Parameters

other: null | Node

Returns

boolean

Inherited from

Element.contains

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15922


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.

MDN Reference

Parameters

event: Event

Returns

boolean

Inherited from

Element.dispatchEvent

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:8309


getAnimations()

getAnimations(options?): Animation[]

MDN Reference

Parameters

options?: GetAnimationsOptions

Returns

Animation[]

Inherited from

Element.getAnimations

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:2461


getAttribute()

getAttribute(qualifiedName): null | string

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

MDN Reference

Parameters

qualifiedName: string

Returns

null | string

Inherited from

Element.getAttribute

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7793


getAttributeNames()

getAttributeNames(): string[]

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

MDN Reference

Returns

string[]

Inherited from

Element.getAttributeNames

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7805


getAttributeNode()

getAttributeNode(qualifiedName): null | Attr

MDN Reference

Parameters

qualifiedName: string

Returns

null | Attr

Inherited from

Element.getAttributeNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7807


getAttributeNodeNS()

getAttributeNodeNS(namespace, localName): null | Attr

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

null | Attr

Inherited from

Element.getAttributeNodeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7809


getAttributeNS()

getAttributeNS(namespace, localName): null | string

Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

null | string

Inherited from

Element.getAttributeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7799


getBoundingClientRect()

getBoundingClientRect(): DOMRect

MDN Reference

Returns

DOMRect

Inherited from

Element.getBoundingClientRect

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7811


getClientRects()

getClientRects(): DOMRectList

MDN Reference

Returns

DOMRectList

Inherited from

Element.getClientRects

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7813


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.

MDN Reference

Parameters

classNames: string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByClassName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7819


getElementsByTagName()

getElementsByTagName(qualifiedName)

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

MDN Reference

Type Parameters

K extends keyof HTMLElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7821

getElementsByTagName(qualifiedName)

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

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7822

getElementsByTagName(qualifiedName)

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

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7823

getElementsByTagName(qualifiedName)

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

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from

Element.getElementsByTagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7825

getElementsByTagName(qualifiedName)

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

qualifiedName: string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByTagName

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7826


getElementsByTagNameNS()

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

MDN Reference

Parameters

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

localName: string

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

Element.getElementsByTagNameNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7828

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

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

localName: string

Returns

HTMLCollectionOf<SVGElement>

Inherited from

Element.getElementsByTagNameNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7829

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Parameters

namespaceURI: "http://www.w3.org/1998/Math/MathML"

localName: string

Returns

HTMLCollectionOf<MathMLElement>

Inherited from

Element.getElementsByTagNameNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7830

getElementsByTagNameNS(namespace, localName)

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

namespace: null | string

localName: string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByTagNameNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7831


getHTML()

getHTML(options?): string

MDN Reference

Parameters

options?: GetHTMLOptions

Returns

string

Inherited from

Element.getHTML

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7833


getRootNode()

getRootNode(options?): Node

Returns node's root.

MDN Reference

Parameters

options?: GetRootNodeOptions

Returns

Node

Inherited from

Element.getRootNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15928


hasAttribute()

hasAttribute(qualifiedName): boolean

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

MDN Reference

Parameters

qualifiedName: string

Returns

boolean

Inherited from

Element.hasAttribute

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7839


hasAttributeNS()

hasAttributeNS(namespace, localName): boolean

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

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

boolean

Inherited from

Element.hasAttributeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7845


hasAttributes()

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns

boolean

Inherited from

Element.hasAttributes

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7851


hasChildNodes()

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

Element.hasChildNodes

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15934


hasPointerCapture()

hasPointerCapture(pointerId): boolean

MDN Reference

Parameters

pointerId: number

Returns

boolean

Inherited from

Element.hasPointerCapture

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7853


insertAdjacentElement()

insertAdjacentElement(where, element): null | Element

MDN Reference

Parameters

where: InsertPosition

element: Element

Returns

null | Element

Inherited from

Element.insertAdjacentElement

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7855


insertAdjacentHTML()

insertAdjacentHTML(position, string): void

MDN Reference

Parameters

position: InsertPosition

string: string

Returns

void

Inherited from

Element.insertAdjacentHTML

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7857


insertAdjacentText()

insertAdjacentText(where, data): void

MDN Reference

Parameters

where: InsertPosition

data: string

Returns

void

Inherited from

Element.insertAdjacentText

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7859


insertBefore()

insertBefore<T>(node, child): T

MDN Reference

Type Parameters

T extends Node

Parameters

node: T

child: null | Node

Returns

T

Inherited from

Element.insertBefore

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15936


isDefaultNamespace()

isDefaultNamespace(namespace): boolean

MDN Reference

Parameters

namespace: null | string

Returns

boolean

Inherited from

Element.isDefaultNamespace

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15938


isEqualNode()

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

otherNode: null | Node

Returns

boolean

Inherited from

Element.isEqualNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15944


isSameNode()

isSameNode(otherNode): boolean

MDN Reference

Parameters

otherNode: null | Node

Returns

boolean

Inherited from

Element.isSameNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15946


lookupNamespaceURI()

lookupNamespaceURI(prefix): null | string

MDN Reference

Parameters

prefix: null | string

Returns

null | string

Inherited from

Element.lookupNamespaceURI

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15948


lookupPrefix()

lookupPrefix(namespace): null | string

MDN Reference

Parameters

namespace: null | string

Returns

null | string

Inherited from

Element.lookupPrefix

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15950


matches()

matches(selectors): boolean

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

MDN Reference

Parameters

selectors: string

Returns

boolean

Inherited from

Element.matches

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7865


normalize()

normalize(): void

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

MDN Reference

Returns

void

Inherited from

Element.normalize

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15956


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.prepend

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16559


querySelector()

querySelector(selectors)

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

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

MDN Reference

Type Parameters

K extends keyof HTMLElementTagNameMap

Parameters

selectors: K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

Element.querySelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16565

querySelector(selectors)

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

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters

selectors: K

Returns

null | SVGElementTagNameMap[K]

Inherited from

Element.querySelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16566

querySelector(selectors)

querySelector<K>(selectors): null | MathMLElementTagNameMap[K]

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters

selectors: K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

Element.querySelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16567

querySelector(selectors)

querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

selectors: K

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Deprecated
Inherited from

Element.querySelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16569

querySelector(selectors)

querySelector<E>(selectors): null | E

Type Parameters

E extends Element = Element

Parameters

selectors: string

Returns

null | E

Inherited from

Element.querySelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16570


querySelectorAll()

querySelectorAll(selectors)

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

Returns all element descendants of node that match selectors.

MDN Reference

Type Parameters

K extends keyof HTMLElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

Element.querySelectorAll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16576

querySelectorAll(selectors)

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

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

Element.querySelectorAll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16577

querySelectorAll(selectors)

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

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

Element.querySelectorAll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16578

querySelectorAll(selectors)

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

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

selectors: K

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from

Element.querySelectorAll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16580

querySelectorAll(selectors)

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

Type Parameters

E extends Element = Element

Parameters

selectors: string

Returns

NodeListOf<E>

Inherited from

Element.querySelectorAll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16581


releasePointerCapture()

releasePointerCapture(pointerId): void

MDN Reference

Parameters

pointerId: number

Returns

void

Inherited from

Element.releasePointerCapture

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7867


remove()

remove(): void

Removes node.

MDN Reference

Returns

void

Inherited from

Element.remove

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:5726


removeAttribute()

removeAttribute(qualifiedName): void

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

MDN Reference

Parameters

qualifiedName: string

Returns

void

Inherited from

Element.removeAttribute

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7873


removeAttributeNode()

removeAttributeNode(attr): Attr

MDN Reference

Parameters

attr: Attr

Returns

Attr

Inherited from

Element.removeAttributeNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7881


removeAttributeNS()

removeAttributeNS(namespace, localName): void

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

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

void

Inherited from

Element.removeAttributeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7879


removeChild()

removeChild<T>(child): T

MDN Reference

Type Parameters

T extends Node

Parameters

child: T

Returns

T

Inherited from

Element.removeChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15958


removeEventListener()

removeEventListener(type, listener, options)

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

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Type Parameters

K extends keyof ElementEventMap

Parameters

type: K

listener

options?: boolean | EventListenerOptions

Returns

void

Inherited from

Element.removeEventListener

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7939

removeEventListener(type, listener, options)

removeEventListener(type, listener, options?): void

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Parameters

type: string

listener: EventListenerOrEventListenerObject

options?: boolean | EventListenerOptions

Returns

void

Inherited from

Element.removeEventListener

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7940


replaceChild()

replaceChild<T>(node, child): T

MDN Reference

Type Parameters

T extends Node

Parameters

node: Node

child: T

Returns

T

Inherited from

Element.replaceChild

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:15960


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.replaceChildren

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:16589


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.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

Element.replaceWith

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:5734


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.

MDN Reference

Parameters

options?: FullscreenOptions

Returns

Promise<void>

Inherited from

Element.requestFullscreen

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7889


requestPointerLock()

requestPointerLock(options?): Promise<void>

MDN Reference

Parameters

options?: PointerLockOptions

Returns

Promise<void>

Inherited from

Element.requestPointerLock

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7891


scroll()

scroll(options)

scroll(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

Element.scroll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7893

scroll(x, y)

scroll(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

Element.scroll

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7894


scrollBy()

scrollBy(options)

scrollBy(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

Element.scrollBy

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7896

scrollBy(x, y)

scrollBy(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

Element.scrollBy

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7897


scrollIntoView()

scrollIntoView(arg?): void

MDN Reference

Parameters

arg?: boolean | ScrollIntoViewOptions

Returns

void

Inherited from

Element.scrollIntoView

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7899


scrollTo()

scrollTo(options)

scrollTo(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

Element.scrollTo

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7901

scrollTo(x, y)

scrollTo(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

Element.scrollTo

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7902


setAttribute()

setAttribute(qualifiedName, value): void

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

MDN Reference

Parameters

qualifiedName: string

value: string

Returns

void

Inherited from

Element.setAttribute

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7908


setAttributeNode()

setAttributeNode(attr): null | Attr

MDN Reference

Parameters

attr: Attr

Returns

null | Attr

Inherited from

Element.setAttributeNode

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7916


setAttributeNodeNS()

setAttributeNodeNS(attr): null | Attr

MDN Reference

Parameters

attr: Attr

Returns

null | Attr

Inherited from

Element.setAttributeNodeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7918


setAttributeNS()

setAttributeNS(namespace, qualifiedName, value): void

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

MDN Reference

Parameters

namespace: null | string

qualifiedName: string

value: string

Returns

void

Inherited from

Element.setAttributeNS

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7914


setHTMLUnsafe()

setHTMLUnsafe(html): void

MDN Reference

Parameters

html: string

Returns

void

Inherited from

Element.setHTMLUnsafe

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7920


setPointerCapture()

setPointerCapture(pointerId): void

MDN Reference

Parameters

pointerId: number

Returns

void

Inherited from

Element.setPointerCapture

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7922


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.

MDN Reference

Parameters

qualifiedName: string

force?: boolean

Returns

boolean

Inherited from

Element.toggleAttribute

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7930


webkitMatchesSelector()

webkitMatchesSelector(selectors): boolean

Parameters

selectors: string

Returns

boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Inherited from

Element.webkitMatchesSelector

Defined in

node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.dom.d.ts:7936