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.8.3/node_modules/typescript/lib/lib.dom.d.ts:2466

MDN Reference

Inherited from

Element.ariaAtomic


ariaAutoComplete

ariaAutoComplete: null | string

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

MDN Reference

Inherited from

Element.ariaAutoComplete


ariaBrailleLabel

ariaBrailleLabel: null | string

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

MDN Reference

Inherited from

Element.ariaBrailleLabel


ariaBrailleRoleDescription

ariaBrailleRoleDescription: null | string

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

MDN Reference

Inherited from

Element.ariaBrailleRoleDescription


ariaBusy

ariaBusy: null | string

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

MDN Reference

Inherited from

Element.ariaBusy


ariaChecked

ariaChecked: null | string

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

MDN Reference

Inherited from

Element.ariaChecked


ariaColCount

ariaColCount: null | string

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

MDN Reference

Inherited from

Element.ariaColCount


ariaColIndex

ariaColIndex: null | string

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

MDN Reference

Inherited from

Element.ariaColIndex


ariaColIndexText

ariaColIndexText: null | string

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

MDN Reference

Inherited from

Element.ariaColIndexText


ariaColSpan

ariaColSpan: null | string

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

MDN Reference

Inherited from

Element.ariaColSpan


ariaCurrent

ariaCurrent: null | string

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

MDN Reference

Inherited from

Element.ariaCurrent


ariaDescription

ariaDescription: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2488

MDN Reference

Inherited from

Element.ariaDescription


ariaDisabled

ariaDisabled: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2490

MDN Reference

Inherited from

Element.ariaDisabled


ariaExpanded

ariaExpanded: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2492

MDN Reference

Inherited from

Element.ariaExpanded


ariaHasPopup

ariaHasPopup: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2494

MDN Reference

Inherited from

Element.ariaHasPopup


ariaHidden

ariaHidden: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2496

MDN Reference

Inherited from

Element.ariaHidden


ariaInvalid

ariaInvalid: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2497

Inherited from

Element.ariaInvalid


ariaKeyShortcuts

ariaKeyShortcuts: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2499

MDN Reference

Inherited from

Element.ariaKeyShortcuts


ariaLabel

ariaLabel: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2501

MDN Reference

Inherited from

Element.ariaLabel


ariaLevel

ariaLevel: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2503

MDN Reference

Inherited from

Element.ariaLevel


ariaLive

ariaLive: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2505

MDN Reference

Inherited from

Element.ariaLive


ariaModal

ariaModal: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2507

MDN Reference

Inherited from

Element.ariaModal


ariaMultiLine

ariaMultiLine: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2509

MDN Reference

Inherited from

Element.ariaMultiLine


ariaMultiSelectable

ariaMultiSelectable: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2511

MDN Reference

Inherited from

Element.ariaMultiSelectable


ariaOrientation

ariaOrientation: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2513

MDN Reference

Inherited from

Element.ariaOrientation


ariaPlaceholder

ariaPlaceholder: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2515

MDN Reference

Inherited from

Element.ariaPlaceholder


ariaPosInSet

ariaPosInSet: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2517

MDN Reference

Inherited from

Element.ariaPosInSet


ariaPressed

ariaPressed: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2519

MDN Reference

Inherited from

Element.ariaPressed


ariaReadOnly

ariaReadOnly: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2521

MDN Reference

Inherited from

Element.ariaReadOnly


ariaRelevant

ariaRelevant: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2523

MDN Reference

Inherited from

Element.ariaRelevant


ariaRequired

ariaRequired: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2525

MDN Reference

Inherited from

Element.ariaRequired


ariaRoleDescription

ariaRoleDescription: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2527

MDN Reference

Inherited from

Element.ariaRoleDescription


ariaRowCount

ariaRowCount: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2529

MDN Reference

Inherited from

Element.ariaRowCount


ariaRowIndex

ariaRowIndex: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2531

MDN Reference

Inherited from

Element.ariaRowIndex


ariaRowIndexText

ariaRowIndexText: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2533

MDN Reference

Inherited from

Element.ariaRowIndexText


ariaRowSpan

ariaRowSpan: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2535

MDN Reference

Inherited from

Element.ariaRowSpan


ariaSelected

ariaSelected: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2537

MDN Reference

Inherited from

Element.ariaSelected


ariaSetSize

ariaSetSize: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2539

MDN Reference

Inherited from

Element.ariaSetSize


ariaSort

ariaSort: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2541

MDN Reference

Inherited from

Element.ariaSort


ariaValueMax

ariaValueMax: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2543

MDN Reference

Inherited from

Element.ariaValueMax


ariaValueMin

ariaValueMin: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2545

MDN Reference

Inherited from

Element.ariaValueMin


ariaValueNow

ariaValueNow: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2547

MDN Reference

Inherited from

Element.ariaValueNow


ariaValueText

ariaValueText: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2549

MDN Reference

Inherited from

Element.ariaValueText


assignedSlot

readonly assignedSlot: null | HTMLSlotElement

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:22553

MDN Reference

Inherited from

Element.assignedSlot


ATTRIBUTE_NODE

readonly ATTRIBUTE_NODE: 2

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17158

Inherited from

Element.ATTRIBUTE_NODE


attributes

readonly attributes: NamedNodeMap

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8231

MDN Reference

Inherited from

Element.attributes


baseURI

readonly baseURI: string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17027

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17162

node is a CDATASection node.

Inherited from

Element.CDATA_SECTION_NODE


childElementCount

readonly childElementCount: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17745

MDN Reference

Inherited from

Element.childElementCount


childNodes

readonly childNodes: NodeListOf<ChildNode>

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17033

Returns the children.

MDN Reference

Inherited from

Element.childNodes


children

readonly children: HTMLCollection

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17751

Returns the child elements.

MDN Reference

Inherited from

Element.children


className

className: string

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

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8246

MDN Reference

Inherited from

Element.clientHeight


clientLeft

readonly clientLeft: number

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

MDN Reference

Inherited from

Element.clientLeft


clientTop

readonly clientTop: number

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

MDN Reference

Inherited from

Element.clientTop


clientWidth

readonly clientWidth: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8252

MDN Reference

Inherited from

Element.clientWidth


COMMENT_NODE

readonly COMMENT_NODE: 8

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17168

node is a Comment node.

Inherited from

Element.COMMENT_NODE


currentCSSZoom

readonly currentCSSZoom: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8254

MDN Reference

Inherited from

Element.currentCSSZoom


DOCUMENT_FRAGMENT_NODE

readonly DOCUMENT_FRAGMENT_NODE: 11

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17174

node is a DocumentFragment node.

Inherited from

Element.DOCUMENT_FRAGMENT_NODE


DOCUMENT_NODE

readonly DOCUMENT_NODE: 9

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17170

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17185

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17183

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17177

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17181

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17186

Inherited from

Element.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


DOCUMENT_POSITION_PRECEDING

readonly DOCUMENT_POSITION_PRECEDING: 2

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17179

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17172

node is a doctype.

Inherited from

Element.DOCUMENT_TYPE_NODE


ELEMENT_NODE

readonly ELEMENT_NODE: 1

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17157

node is an element.

Inherited from

Element.ELEMENT_NODE


ENTITY_NODE

readonly ENTITY_NODE: 6

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17164

Inherited from

Element.ENTITY_NODE


ENTITY_REFERENCE_NODE

readonly ENTITY_REFERENCE_NODE: 5

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17163

Inherited from

Element.ENTITY_REFERENCE_NODE


firstChild

readonly firstChild: null | ChildNode

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17039

Returns the first child.

MDN Reference

Inherited from

Element.firstChild


firstElementChild

readonly firstElementChild: null | Element

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17757

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8260

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8262

MDN Reference

Inherited from

Element.innerHTML


isConnected

readonly isConnected: boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17045

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17051

Returns the last child.

MDN Reference

Inherited from

Element.lastChild


lastElementChild

readonly lastElementChild: null | Element

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17763

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8268

Returns the local name.

MDN Reference

Inherited from

Element.localName


models

models: object

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

add()

add(node, sourceModel, url): void

Parameters
node

Node

sourceModel

unknown

url

string

Returns

void

remove()

remove(node): void

Parameters
node

Node

Returns

void


namespaceURI

readonly namespaceURI: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8274

Returns the namespace.

MDN Reference

Inherited from

Element.namespaceURI


nextElementSibling

readonly nextElementSibling: null | Element

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

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17057

Returns the next sibling.

MDN Reference

Inherited from

Element.nextSibling


nodeName

readonly nodeName: string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17063

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17069

Returns the type of node.

MDN Reference

Inherited from

Element.nodeType


nodeValue

nodeValue: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17071

MDN Reference

Inherited from

Element.nodeValue


NOTATION_NODE

readonly NOTATION_NODE: 12

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17175

Inherited from

Element.NOTATION_NODE


onfullscreenchange

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

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8276

MDN Reference

Inherited from

Element.onfullscreenchange


onfullscreenerror

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

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8278

MDN Reference

Inherited from

Element.onfullscreenerror


outerHTML

outerHTML: string

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

MDN Reference

Inherited from

Element.outerHTML


ownerDocument

readonly ownerDocument: Document

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8281

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17083

Returns the parent element.

MDN Reference

Inherited from

Element.parentElement


parentNode

readonly parentNode: null | ParentNode

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17089

Returns the parent.

MDN Reference

Inherited from

Element.parentNode


prefix

readonly prefix: null | string

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

Returns the namespace prefix.

MDN Reference

Inherited from

Element.prefix


previousElementSibling

readonly previousElementSibling: null | Element

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17313

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17095

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17166

node is a ProcessingInstruction node.

Inherited from

Element.PROCESSING_INSTRUCTION_NODE


role

role: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:2550

Inherited from

Element.role


scrollHeight

readonly scrollHeight: number

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

MDN Reference

Inherited from

Element.scrollHeight


scrollLeft

scrollLeft: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8294

MDN Reference

Inherited from

Element.scrollLeft


scrollTop

scrollTop: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8296

MDN Reference

Inherited from

Element.scrollTop


scrollWidth

readonly scrollWidth: number

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8298

MDN Reference

Inherited from

Element.scrollWidth


shadowRoot

readonly shadowRoot: null | ShadowRoot

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8304

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8310

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8316

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17160

node is a Text node.

Inherited from

Element.TEXT_NODE


textContent

textContent: null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17097

MDN Reference

Inherited from

Element.textContent

Accessors

classList

Get Signature

get classList(): DOMTokenList

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8237

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

MDN Reference

Returns

DOMTokenList

Set Signature

set classList(value): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8238

Parameters
value

string

Returns

void

Inherited from

Element.classList


part

Get Signature

get part(): DOMTokenList

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8283

MDN Reference

Returns

DOMTokenList

Set Signature

set part(value): void

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

Parameters
value

string

Returns

void

Inherited from

Element.part

Methods

addEventListener()

addEventListener<K>(type, listener): void

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

Type Parameters

K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:6167

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:2702

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17771

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17099

MDN Reference

Type Parameters

T

T extends Node

Parameters

node

T

Returns

T

Inherited from

Element.appendChild


attachShadow()

attachShadow(init): ShadowRoot

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8322

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:6175

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8324

MDN Reference

Parameters

options?

CheckVisibilityOptions

Returns

boolean

Inherited from

Element.checkVisibility


cloneNode()

cloneNode(subtree?): Node

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17105

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

MDN Reference

Parameters

subtree?

boolean

Returns

Node

Inherited from

Element.cloneNode


closest()

Call Signature

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

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

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

MDN Reference

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8331

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8332

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8333

Type Parameters
E

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17111

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8335

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

Element.computedStyleMap


contains()

contains(other): boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17117

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8882

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:2704

MDN Reference

Parameters

options?

GetAnimationsOptions

Returns

Animation[]

Inherited from

Element.getAnimations


getAttribute()

getAttribute(qualifiedName): null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8341

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8353

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8355

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8357

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8347

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8359

MDN Reference

Returns

DOMRect

Inherited from

Element.getBoundingClientRect


getClientRects()

getClientRects(): DOMRectList

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8361

MDN Reference

Returns

DOMRectList

Inherited from

Element.getClientRects


getElementsByClassName()

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8367

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8369

MDN Reference

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8370

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8371

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8373

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8374

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8376

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8377

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8378

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8379

Parameters
namespace

null | string

localName

string

Returns

HTMLCollectionOf<Element>

Inherited from

Element.getElementsByTagNameNS


getHTML()

getHTML(options?): string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8381

MDN Reference

Parameters

options?

GetHTMLOptions

Returns

string

Inherited from

Element.getHTML


getRootNode()

getRootNode(options?): Node

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17123

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8387

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8393

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8399

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17129

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

Element.hasChildNodes


hasPointerCapture()

hasPointerCapture(pointerId): boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8401

MDN Reference

Parameters

pointerId

number

Returns

boolean

Inherited from

Element.hasPointerCapture


insertAdjacentElement()

insertAdjacentElement(where, element): null | Element

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8403

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8405

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8407

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17131

MDN Reference

Type Parameters

T

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17133

MDN Reference

Parameters

namespace

null | string

Returns

boolean

Inherited from

Element.isDefaultNamespace


isEqualNode()

isEqualNode(otherNode): boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17139

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17141

MDN Reference

Parameters

otherNode

null | Node

Returns

boolean

Inherited from

Element.isSameNode


lookupNamespaceURI()

lookupNamespaceURI(prefix): null | string

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17143

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17145

MDN Reference

Parameters

namespace

null | string

Returns

null | string

Inherited from

Element.lookupPrefix


matches()

matches(selectors): boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8413

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17151

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17779

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17785

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

MDN Reference

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17786

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17787

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17789

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17790

Type Parameters
E

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17796

Returns all element descendants of node that match selectors.

MDN Reference

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17797

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17798

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17800

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17801

Type Parameters
E

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8415

MDN Reference

Parameters

pointerId

number

Returns

void

Inherited from

Element.releasePointerCapture


remove()

remove(): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:6181

Removes node.

MDN Reference

Returns

void

Inherited from

Element.remove


removeAttribute()

removeAttribute(qualifiedName): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8421

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8429

MDN Reference

Parameters

attr

Attr

Returns

Attr

Inherited from

Element.removeAttributeNode


removeAttributeNS()

removeAttributeNS(namespace, localName): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8427

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17153

MDN Reference

Type Parameters

T

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8487

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

MDN Reference

Type Parameters
K

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8488

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17155

MDN Reference

Type Parameters

T

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:17809

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:6189

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8437

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8439

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8441

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scroll

Call Signature

scroll(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8442

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scroll


scrollBy()

Call Signature

scrollBy(options?): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8444

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scrollBy

Call Signature

scrollBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8445

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scrollBy


scrollIntoView()

scrollIntoView(arg?): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8447

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8449

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

Element.scrollTo

Call Signature

scrollTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8450

Parameters
x

number

y

number

Returns

void

Inherited from

Element.scrollTo


setAttribute()

setAttribute(qualifiedName, value): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8456

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8464

MDN Reference

Parameters

attr

Attr

Returns

null | Attr

Inherited from

Element.setAttributeNode


setAttributeNodeNS()

setAttributeNodeNS(attr): null | Attr

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8466

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8462

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8468

MDN Reference

Parameters

html

string

Returns

void

Inherited from

Element.setHTMLUnsafe


setPointerCapture()

setPointerCapture(pointerId): void

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8470

MDN Reference

Parameters

pointerId

number

Returns

void

Inherited from

Element.setPointerCapture


toggleAttribute()

toggleAttribute(qualifiedName, force?): boolean

Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8478

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.8.3/node_modules/typescript/lib/lib.dom.d.ts:8484

Parameters

selectors

string

Returns

boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Inherited from

Element.webkitMatchesSelector