Skip to content

@tmrw-realityos/charm


@tmrw-realityos/charm / ROSHost

Interface: ROSHost

Defined in: packages/charm/src/webComponents/plugin.ts:23

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2405

MDN Reference

Inherited from

Element.ariaAtomic


ariaAutoComplete

ariaAutoComplete: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2407

MDN Reference

Inherited from

Element.ariaAutoComplete


ariaBrailleLabel

ariaBrailleLabel: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2409

MDN Reference

Inherited from

Element.ariaBrailleLabel


ariaBrailleRoleDescription

ariaBrailleRoleDescription: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2411

MDN Reference

Inherited from

Element.ariaBrailleRoleDescription


ariaBusy

ariaBusy: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2413

MDN Reference

Inherited from

Element.ariaBusy


ariaChecked

ariaChecked: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2415

MDN Reference

Inherited from

Element.ariaChecked


ariaColCount

ariaColCount: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2417

MDN Reference

Inherited from

Element.ariaColCount


ariaColIndex

ariaColIndex: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2419

MDN Reference

Inherited from

Element.ariaColIndex


ariaColIndexText

ariaColIndexText: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2421

MDN Reference

Inherited from

Element.ariaColIndexText


ariaColSpan

ariaColSpan: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2423

MDN Reference

Inherited from

Element.ariaColSpan


ariaCurrent

ariaCurrent: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2425

MDN Reference

Inherited from

Element.ariaCurrent


ariaDescription

ariaDescription: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2427

MDN Reference

Inherited from

Element.ariaDescription


ariaDisabled

ariaDisabled: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2429

MDN Reference

Inherited from

Element.ariaDisabled


ariaExpanded

ariaExpanded: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2431

MDN Reference

Inherited from

Element.ariaExpanded


ariaHasPopup

ariaHasPopup: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2433

MDN Reference

Inherited from

Element.ariaHasPopup


ariaHidden

ariaHidden: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2435

MDN Reference

Inherited from

Element.ariaHidden


ariaInvalid

ariaInvalid: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2436

Inherited from

Element.ariaInvalid


ariaKeyShortcuts

ariaKeyShortcuts: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2438

MDN Reference

Inherited from

Element.ariaKeyShortcuts


ariaLabel

ariaLabel: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2440

MDN Reference

Inherited from

Element.ariaLabel


ariaLevel

ariaLevel: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2442

MDN Reference

Inherited from

Element.ariaLevel


ariaLive

ariaLive: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2444

MDN Reference

Inherited from

Element.ariaLive


ariaModal

ariaModal: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2446

MDN Reference

Inherited from

Element.ariaModal


ariaMultiLine

ariaMultiLine: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2448

MDN Reference

Inherited from

Element.ariaMultiLine


ariaMultiSelectable

ariaMultiSelectable: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2450

MDN Reference

Inherited from

Element.ariaMultiSelectable


ariaOrientation

ariaOrientation: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2452

MDN Reference

Inherited from

Element.ariaOrientation


ariaPlaceholder

ariaPlaceholder: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2454

MDN Reference

Inherited from

Element.ariaPlaceholder


ariaPosInSet

ariaPosInSet: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2456

MDN Reference

Inherited from

Element.ariaPosInSet


ariaPressed

ariaPressed: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2458

MDN Reference

Inherited from

Element.ariaPressed


ariaReadOnly

ariaReadOnly: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2460

MDN Reference

Inherited from

Element.ariaReadOnly


ariaRequired

ariaRequired: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2462

MDN Reference

Inherited from

Element.ariaRequired


ariaRoleDescription

ariaRoleDescription: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2464

MDN Reference

Inherited from

Element.ariaRoleDescription


ariaRowCount

ariaRowCount: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2466

MDN Reference

Inherited from

Element.ariaRowCount


ariaRowIndex

ariaRowIndex: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2468

MDN Reference

Inherited from

Element.ariaRowIndex


ariaRowIndexText

ariaRowIndexText: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2470

MDN Reference

Inherited from

Element.ariaRowIndexText


ariaRowSpan

ariaRowSpan: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2472

MDN Reference

Inherited from

Element.ariaRowSpan


ariaSelected

ariaSelected: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2474

MDN Reference

Inherited from

Element.ariaSelected


ariaSetSize

ariaSetSize: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2476

MDN Reference

Inherited from

Element.ariaSetSize


ariaSort

ariaSort: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2478

MDN Reference

Inherited from

Element.ariaSort


ariaValueMax

ariaValueMax: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2480

MDN Reference

Inherited from

Element.ariaValueMax


ariaValueMin

ariaValueMin: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2482

MDN Reference

Inherited from

Element.ariaValueMin


ariaValueNow

ariaValueNow: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2484

MDN Reference

Inherited from

Element.ariaValueNow


ariaValueText

ariaValueText: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2486

MDN Reference

Inherited from

Element.ariaValueText


assignedSlot

readonly assignedSlot: null | HTMLSlotElement

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:21934

MDN Reference

Inherited from

Element.assignedSlot


ATTRIBUTE_NODE

readonly ATTRIBUTE_NODE: 2

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16718

Inherited from

Element.ATTRIBUTE_NODE


attributes

readonly attributes: NamedNodeMap

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8076

MDN Reference

Inherited from

Element.attributes


baseURI

readonly baseURI: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16587

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

MDN Reference

Inherited from

Element.baseURI


camera

camera: Camera

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


CDATA_SECTION_NODE

readonly CDATA_SECTION_NODE: 4

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16722

node is a CDATASection node.

Inherited from

Element.CDATA_SECTION_NODE


childElementCount

readonly childElementCount: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17281

MDN Reference

Inherited from

Element.childElementCount


childNodes

readonly childNodes: NodeListOf<ChildNode>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16593

Returns the children.

MDN Reference

Inherited from

Element.childNodes


children

readonly children: HTMLCollection

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17287

Returns the child elements.

MDN Reference

Inherited from

Element.children


classList

readonly classList: DOMTokenList

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8082

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


className

className: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8088

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

MDN Reference

Inherited from

Element.className


clientHeight

readonly clientHeight: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8090

MDN Reference

Inherited from

Element.clientHeight


clientLeft

readonly clientLeft: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8092

MDN Reference

Inherited from

Element.clientLeft


clientTop

readonly clientTop: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8094

MDN Reference

Inherited from

Element.clientTop


clientWidth

readonly clientWidth: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8096

MDN Reference

Inherited from

Element.clientWidth


COMMENT_NODE

readonly COMMENT_NODE: 8

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16728

node is a Comment node.

Inherited from

Element.COMMENT_NODE


currentCSSZoom

readonly currentCSSZoom: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8098

MDN Reference

Inherited from

Element.currentCSSZoom


DOCUMENT_FRAGMENT_NODE

readonly DOCUMENT_FRAGMENT_NODE: 11

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16734

node is a DocumentFragment node.

Inherited from

Element.DOCUMENT_FRAGMENT_NODE


DOCUMENT_NODE

readonly DOCUMENT_NODE: 9

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16730

node is a document.

Inherited from

Element.DOCUMENT_NODE


DOCUMENT_POSITION_CONTAINED_BY

readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16745

Set when other is a descendant of node.

Inherited from

Element.DOCUMENT_POSITION_CONTAINED_BY


DOCUMENT_POSITION_CONTAINS

readonly DOCUMENT_POSITION_CONTAINS: 8

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16743

Set when other is an ancestor of node.

Inherited from

Element.DOCUMENT_POSITION_CONTAINS


DOCUMENT_POSITION_DISCONNECTED

readonly DOCUMENT_POSITION_DISCONNECTED: 1

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16737

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

Inherited from

Element.DOCUMENT_POSITION_DISCONNECTED


DOCUMENT_POSITION_FOLLOWING

readonly DOCUMENT_POSITION_FOLLOWING: 4

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16741

Set when other is following node.

Inherited from

Element.DOCUMENT_POSITION_FOLLOWING


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16746

Inherited from

Element.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


DOCUMENT_POSITION_PRECEDING

readonly DOCUMENT_POSITION_PRECEDING: 2

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16739

Set when other is preceding node.

Inherited from

Element.DOCUMENT_POSITION_PRECEDING


DOCUMENT_TYPE_NODE

readonly DOCUMENT_TYPE_NODE: 10

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16732

node is a doctype.

Inherited from

Element.DOCUMENT_TYPE_NODE


ELEMENT_NODE

readonly ELEMENT_NODE: 1

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16717

node is an element.

Inherited from

Element.ELEMENT_NODE


ENTITY_NODE

readonly ENTITY_NODE: 6

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16724

Inherited from

Element.ENTITY_NODE


ENTITY_REFERENCE_NODE

readonly ENTITY_REFERENCE_NODE: 5

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16723

Inherited from

Element.ENTITY_REFERENCE_NODE


firstChild

readonly firstChild: null | ChildNode

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16599

Returns the first child.

MDN Reference

Inherited from

Element.firstChild


firstElementChild

readonly firstElementChild: null | Element

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17293

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

MDN Reference

Inherited from

Element.firstElementChild


id

id: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8104

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

MDN Reference

Inherited from

Element.id


innerHTML

innerHTML: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8106

MDN Reference

Inherited from

Element.innerHTML


isConnected

readonly isConnected: boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16605

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

Element.isConnected


lastChild

readonly lastChild: null | ChildNode

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16611

Returns the last child.

MDN Reference

Inherited from

Element.lastChild


lastElementChild

readonly lastElementChild: null | Element

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17299

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

MDN Reference

Inherited from

Element.lastElementChild


localName

readonly localName: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8112

Returns the local name.

MDN Reference

Inherited from

Element.localName


models

models: object

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

add()

Parameters
node

Node

sourceModel

unknown

url

string

Returns

void

remove()

Parameters
node

Node

Returns

void


namespaceURI

readonly namespaceURI: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8118

Returns the namespace.

MDN Reference

Inherited from

Element.namespaceURI


nextElementSibling

readonly nextElementSibling: null | Element

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16867

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

MDN Reference

Inherited from

Element.nextElementSibling


nextSibling

readonly nextSibling: null | ChildNode

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16617

Returns the next sibling.

MDN Reference

Inherited from

Element.nextSibling


nodeName

readonly nodeName: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16623

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

Element.nodeName


nodeType

readonly nodeType: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16629

Returns the type of node.

MDN Reference

Inherited from

Element.nodeType


nodeValue

nodeValue: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16631

MDN Reference

Inherited from

Element.nodeValue


NOTATION_NODE

readonly NOTATION_NODE: 12

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16735

Inherited from

Element.NOTATION_NODE


onfullscreenchange

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8120

MDN Reference

Inherited from

Element.onfullscreenchange


onfullscreenerror

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8122

MDN Reference

Inherited from

Element.onfullscreenerror


outerHTML

outerHTML: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8124

MDN Reference

Inherited from

Element.outerHTML


ownerDocument

readonly ownerDocument: Document

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8125

Returns the node document. Returns null for documents.

MDN Reference

Inherited from

Element.ownerDocument


parentElement

readonly parentElement: null | HTMLElement

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16643

Returns the parent element.

MDN Reference

Inherited from

Element.parentElement


parentNode

readonly parentNode: null | ParentNode

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16649

Returns the parent.

MDN Reference

Inherited from

Element.parentNode


part

readonly part: DOMTokenList

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8127

MDN Reference

Inherited from

Element.part


prefix

readonly prefix: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8133

Returns the namespace prefix.

MDN Reference

Inherited from

Element.prefix


previousElementSibling

readonly previousElementSibling: null | Element

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16873

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

MDN Reference

Inherited from

Element.previousElementSibling


previousSibling

readonly previousSibling: null | ChildNode

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16655

Returns the previous sibling.

MDN Reference

Inherited from

Element.previousSibling


PROCESSING_INSTRUCTION_NODE

readonly PROCESSING_INSTRUCTION_NODE: 7

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16726

node is a ProcessingInstruction node.

Inherited from

Element.PROCESSING_INSTRUCTION_NODE


role

role: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2487

Inherited from

Element.role


scrollHeight

readonly scrollHeight: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8135

MDN Reference

Inherited from

Element.scrollHeight


scrollLeft

scrollLeft: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8137

MDN Reference

Inherited from

Element.scrollLeft


scrollTop

scrollTop: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8139

MDN Reference

Inherited from

Element.scrollTop


scrollWidth

readonly scrollWidth: number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8141

MDN Reference

Inherited from

Element.scrollWidth


shadowRoot

readonly shadowRoot: null | ShadowRoot

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8147

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

MDN Reference

Inherited from

Element.shadowRoot


slot

slot: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8153

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

MDN Reference

Inherited from

Element.slot


tagName

readonly tagName: string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8159

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from

Element.tagName


TEXT_NODE

readonly TEXT_NODE: 3

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16720

node is a Text node.

Inherited from

Element.TEXT_NODE


textContent

textContent: null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16657

MDN Reference

Inherited from

Element.textContent

Methods

addEventListener()

addEventListener<K>(type, listener): void

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

Type Parameters

K extends keyof ROSHostEventMap

Parameters

type

K

listener

(this, ev) => void

Returns

void

Overrides

Element.addEventListener


after()

after(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:6051

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


animate()

animate(keyframes, options?): Animation

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2639

MDN Reference

Parameters

keyframes

null | Keyframe[] | PropertyIndexedKeyframes

options?

number | KeyframeAnimationOptions

Returns

Animation

Inherited from

Element.animate


append()

append(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17307

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


appendChild()

appendChild<T>(node): T

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16659

MDN Reference

Type Parameters

T extends Node

Parameters

node

T

Returns

T

Inherited from

Element.appendChild


attachShadow()

attachShadow(init): ShadowRoot

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8165

Creates a shadow root for element and returns it.

MDN Reference

Parameters

init

ShadowRootInit

Returns

ShadowRoot

Inherited from

Element.attachShadow


before()

before(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:6059

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


checkVisibility()

checkVisibility(options?): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8167

MDN Reference

Parameters

options?

CheckVisibilityOptions

Returns

boolean

Inherited from

Element.checkVisibility


cloneNode()

cloneNode(deep?): Node

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16665

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


closest()

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8173

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

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8174

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters
selector

K

Returns

null | SVGElementTagNameMap[K]

Inherited from

Element.closest

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8175

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters
selector

K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

Element.closest

Call Signature

closest<E>(selectors): null | E

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8176

Type Parameters

E extends Element = Element

Parameters
selectors

string

Returns

null | E

Inherited from

Element.closest


compareDocumentPosition()

compareDocumentPosition(other): number

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16671

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

MDN Reference

Parameters

other

Node

Returns

number

Inherited from

Element.compareDocumentPosition


computedStyleMap()

computedStyleMap(): StylePropertyMapReadOnly

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8178

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

Element.computedStyleMap


contains()

contains(other): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16677

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


dispatchEvent()

dispatchEvent(event): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8719

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


getAnimations()

getAnimations(options?): Animation[]

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:2641

MDN Reference

Parameters

options?

GetAnimationsOptions

Returns

Animation[]

Inherited from

Element.getAnimations


getAttribute()

getAttribute(qualifiedName): null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8184

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


getAttributeNames()

getAttributeNames(): string[]

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8196

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

MDN Reference

Returns

string[]

Inherited from

Element.getAttributeNames


getAttributeNode()

getAttributeNode(qualifiedName): null | Attr

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8198

MDN Reference

Parameters

qualifiedName

string

Returns

null | Attr

Inherited from

Element.getAttributeNode


getAttributeNodeNS()

getAttributeNodeNS(namespace, localName): null | Attr

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8200

MDN Reference

Parameters

namespace

null | string

localName

string

Returns

null | Attr

Inherited from

Element.getAttributeNodeNS


getAttributeNS()

getAttributeNS(namespace, localName): null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8190

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


getBoundingClientRect()

getBoundingClientRect(): DOMRect

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8202

MDN Reference

Returns

DOMRect

Inherited from

Element.getBoundingClientRect


getClientRects()

getClientRects(): DOMRectList

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8204

MDN Reference

Returns

DOMRectList

Inherited from

Element.getClientRects


getElementsByClassName()

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8210

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


getElementsByTagName()

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8212

MDN Reference

Type Parameters

K extends keyof HTMLElementTagNameMap

Parameters
qualifiedName

K

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8213

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters
qualifiedName

K

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8214

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters
qualifiedName

K

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from

Element.getElementsByTagName

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8216

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters
qualifiedName

K

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from

Element.getElementsByTagName

Call Signature

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8217

Parameters
qualifiedName

string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByTagName


getElementsByTagNameNS()

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8219

MDN Reference

Parameters
namespaceURI

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

localName

string

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

Element.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8220

Parameters
namespaceURI

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

localName

string

Returns

HTMLCollectionOf<SVGElement>

Inherited from

Element.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8221

Parameters
namespaceURI

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

localName

string

Returns

HTMLCollectionOf<MathMLElement>

Inherited from

Element.getElementsByTagNameNS

Call Signature

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8222

Parameters
namespace

null | string

localName

string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByTagNameNS


getHTML()

getHTML(options?): string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8224

MDN Reference

Parameters

options?

GetHTMLOptions

Returns

string

Inherited from

Element.getHTML


getRootNode()

getRootNode(options?): Node

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16683

Returns node's root.

MDN Reference

Parameters

options?

GetRootNodeOptions

Returns

Node

Inherited from

Element.getRootNode


hasAttribute()

hasAttribute(qualifiedName): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8230

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


hasAttributeNS()

hasAttributeNS(namespace, localName): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8236

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


hasAttributes()

hasAttributes(): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8242

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns

boolean

Inherited from

Element.hasAttributes


hasChildNodes()

hasChildNodes(): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16689

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

Element.hasChildNodes


hasPointerCapture()

hasPointerCapture(pointerId): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8244

MDN Reference

Parameters

pointerId

number

Returns

boolean

Inherited from

Element.hasPointerCapture


insertAdjacentElement()

insertAdjacentElement(where, element): null | Element

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8246

MDN Reference

Parameters

where

InsertPosition

element

Element

Returns

null | Element

Inherited from

Element.insertAdjacentElement


insertAdjacentHTML()

insertAdjacentHTML(position, string): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8248

MDN Reference

Parameters

position

InsertPosition

string

string

Returns

void

Inherited from

Element.insertAdjacentHTML


insertAdjacentText()

insertAdjacentText(where, data): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8250

MDN Reference

Parameters

where

InsertPosition

data

string

Returns

void

Inherited from

Element.insertAdjacentText


insertBefore()

insertBefore<T>(node, child): T

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16691

MDN Reference

Type Parameters

T extends Node

Parameters

node

T

child

null | Node

Returns

T

Inherited from

Element.insertBefore


isDefaultNamespace()

isDefaultNamespace(namespace): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16693

MDN Reference

Parameters

namespace

null | string

Returns

boolean

Inherited from

Element.isDefaultNamespace


isEqualNode()

isEqualNode(otherNode): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16699

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

otherNode

null | Node

Returns

boolean

Inherited from

Element.isEqualNode


isSameNode()

isSameNode(otherNode): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16701

MDN Reference

Parameters

otherNode

null | Node

Returns

boolean

Inherited from

Element.isSameNode


lookupNamespaceURI()

lookupNamespaceURI(prefix): null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16703

MDN Reference

Parameters

prefix

null | string

Returns

null | string

Inherited from

Element.lookupNamespaceURI


lookupPrefix()

lookupPrefix(namespace): null | string

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16705

MDN Reference

Parameters

namespace

null | string

Returns

null | string

Inherited from

Element.lookupPrefix


matches()

matches(selectors): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8256

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


normalize()

normalize(): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16711

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


prepend()

prepend(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17315

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


querySelector()

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17321

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

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17322

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters
selectors

K

Returns

null | SVGElementTagNameMap[K]

Inherited from

Element.querySelector

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17323

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters
selectors

K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

Element.querySelector

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17325

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters
selectors

K

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Deprecated
Inherited from

Element.querySelector

Call Signature

querySelector<E>(selectors): null | E

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17326

Type Parameters

E extends Element = Element

Parameters
selectors

string

Returns

null | E

Inherited from

Element.querySelector


querySelectorAll()

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17332

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

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17333

Type Parameters

K extends keyof SVGElementTagNameMap

Parameters
selectors

K

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

Element.querySelectorAll

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17334

Type Parameters

K extends keyof MathMLElementTagNameMap

Parameters
selectors

K

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

Element.querySelectorAll

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17336

Type Parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters
selectors

K

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated
Inherited from

Element.querySelectorAll

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17337

Type Parameters

E extends Element = Element

Parameters
selectors

string

Returns

NodeListOf<E>

Inherited from

Element.querySelectorAll


releasePointerCapture()

releasePointerCapture(pointerId): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8258

MDN Reference

Parameters

pointerId

number

Returns

void

Inherited from

Element.releasePointerCapture


remove()

remove(): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:6065

Removes node.

MDN Reference

Returns

void

Inherited from

Element.remove


removeAttribute()

removeAttribute(qualifiedName): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8264

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

MDN Reference

Parameters

qualifiedName

string

Returns

void

Inherited from

Element.removeAttribute


removeAttributeNode()

removeAttributeNode(attr): Attr

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8272

MDN Reference

Parameters

attr

Attr

Returns

Attr

Inherited from

Element.removeAttributeNode


removeAttributeNS()

removeAttributeNS(namespace, localName): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8270

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


removeChild()

removeChild<T>(child): T

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16713

MDN Reference

Type Parameters

T extends Node

Parameters

child

T

Returns

T

Inherited from

Element.removeChild


removeEventListener()

Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8330

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

(this, ev) => any

options?

boolean | EventListenerOptions

Returns

void

Inherited from

Element.removeEventListener

Call Signature

removeEventListener(type, listener, options?): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8331

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


replaceChild()

replaceChild<T>(node, child): T

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16715

MDN Reference

Type Parameters

T extends Node

Parameters

node

Node

child

T

Returns

T

Inherited from

Element.replaceChild


replaceChildren()

replaceChildren(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17345

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


replaceWith()

replaceWith(...nodes): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:6073

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


requestFullscreen()

requestFullscreen(options?): Promise<void>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8280

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


requestPointerLock()

requestPointerLock(options?): Promise<void>

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8282

MDN Reference

Parameters

options?

PointerLockOptions

Returns

Promise<void>

Inherited from

Element.requestPointerLock


scroll()

Call Signature

scroll(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8284

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scroll

Call Signature

scroll(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8285

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scroll


scrollBy()

Call Signature

scrollBy(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8287

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scrollBy

Call Signature

scrollBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8288

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scrollBy


scrollIntoView()

scrollIntoView(arg?): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8290

MDN Reference

Parameters

arg?

boolean | ScrollIntoViewOptions

Returns

void

Inherited from

Element.scrollIntoView


scrollTo()

Call Signature

scrollTo(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8292

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scrollTo

Call Signature

scrollTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8293

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scrollTo


setAttribute()

setAttribute(qualifiedName, value): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8299

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


setAttributeNode()

setAttributeNode(attr): null | Attr

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8307

MDN Reference

Parameters

attr

Attr

Returns

null | Attr

Inherited from

Element.setAttributeNode


setAttributeNodeNS()

setAttributeNodeNS(attr): null | Attr

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8309

MDN Reference

Parameters

attr

Attr

Returns

null | Attr

Inherited from

Element.setAttributeNodeNS


setAttributeNS()

setAttributeNS(namespace, qualifiedName, value): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8305

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


setHTMLUnsafe()

setHTMLUnsafe(html): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8311

MDN Reference

Parameters

html

string

Returns

void

Inherited from

Element.setHTMLUnsafe


setPointerCapture()

setPointerCapture(pointerId): void

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8313

MDN Reference

Parameters

pointerId

number

Returns

void

Inherited from

Element.setPointerCapture


toggleAttribute()

toggleAttribute(qualifiedName, force?): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8321

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


webkitMatchesSelector()

webkitMatchesSelector(selectors): boolean

Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8327

Parameters

selectors

string

Returns

boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Inherited from

Element.webkitMatchesSelector