Appearance
@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Inherited from
Element.ariaValueText
assignedSlot
readonlyassignedSlot:null|HTMLSlotElement
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:21934
Inherited from
Element.assignedSlot
ATTRIBUTE_NODE
readonlyATTRIBUTE_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
readonlyattributes:NamedNodeMap
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8076
Inherited from
Element.attributes
baseURI
readonlybaseURI: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.
Inherited from
Element.baseURI
camera
camera:
Camera
Defined in: packages/charm/src/webComponents/plugin.ts:24
CDATA_SECTION_NODE
readonlyCDATA_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
readonlychildElementCount:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17281
Inherited from
Element.childElementCount
childNodes
readonlychildNodes:NodeListOf<ChildNode>
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16593
Returns the children.
Inherited from
Element.childNodes
children
readonlychildren:HTMLCollection
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:17287
Returns the child elements.
Inherited from
Element.children
classList
readonlyclassList: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.
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.
Inherited from
Element.className
clientHeight
readonlyclientHeight:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8090
Inherited from
Element.clientHeight
clientLeft
readonlyclientLeft:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8092
Inherited from
Element.clientLeft
clientTop
readonlyclientTop:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8094
Inherited from
Element.clientTop
clientWidth
readonlyclientWidth:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8096
Inherited from
Element.clientWidth
COMMENT_NODE
readonlyCOMMENT_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
readonlycurrentCSSZoom:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8098
Inherited from
Element.currentCSSZoom
DOCUMENT_FRAGMENT_NODE
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyELEMENT_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
readonlyENTITY_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
readonlyENTITY_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
readonlyfirstChild:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16599
Returns the first child.
Inherited from
Element.firstChild
firstElementChild
readonlyfirstElementChild: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.
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.
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
Inherited from
Element.innerHTML
isConnected
readonlyisConnected: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.
Inherited from
Element.isConnected
lastChild
readonlylastChild:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16611
Returns the last child.
Inherited from
Element.lastChild
lastElementChild
readonlylastElementChild: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.
Inherited from
Element.lastElementChild
localName
readonlylocalName:string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8112
Returns the local name.
Inherited from
Element.localName
models
models:
object
Defined in: packages/charm/src/webComponents/plugin.ts:26
add()
Parameters
node
sourceModel
unknown
url
string
Returns
void
remove()
Parameters
node
Returns
void
namespaceURI
readonlynamespaceURI:null|string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8118
Returns the namespace.
Inherited from
Element.namespaceURI
nextElementSibling
readonlynextElementSibling: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.
Inherited from
Element.nextElementSibling
nextSibling
readonlynextSibling:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16617
Returns the next sibling.
Inherited from
Element.nextSibling
nodeName
readonlynodeName: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.
Inherited from
Element.nodeName
nodeType
readonlynodeType:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16629
Returns the type of node.
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
Inherited from
Element.nodeValue
NOTATION_NODE
readonlyNOTATION_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
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
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
Inherited from
Element.outerHTML
ownerDocument
readonlyownerDocument: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.
Inherited from
Element.ownerDocument
parentElement
readonlyparentElement:null|HTMLElement
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16643
Returns the parent element.
Inherited from
Element.parentElement
parentNode
readonlyparentNode:null|ParentNode
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16649
Returns the parent.
Inherited from
Element.parentNode
part
readonlypart:DOMTokenList
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8127
Inherited from
Element.part
prefix
readonlyprefix:null|string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8133
Returns the namespace prefix.
Inherited from
Element.prefix
previousElementSibling
readonlypreviousElementSibling: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.
Inherited from
Element.previousElementSibling
previousSibling
readonlypreviousSibling:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:16655
Returns the previous sibling.
Inherited from
Element.previousSibling
PROCESSING_INSTRUCTION_NODE
readonlyPROCESSING_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
readonlyscrollHeight:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8135
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
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
Inherited from
Element.scrollTop
scrollWidth
readonlyscrollWidth:number
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.dom.d.ts:8141
Inherited from
Element.scrollWidth
shadowRoot
readonlyshadowRoot: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.
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.
Inherited from
Element.slot
tagName
readonlytagName: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.
Inherited from
Element.tagName
TEXT_NODE
readonlyTEXT_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
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.
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
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.
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
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.
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.
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
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.
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.
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.
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
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.
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.
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
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.
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.
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
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
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.
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
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
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.
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
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
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
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.
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.
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.
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.
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.
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
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
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
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
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
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
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.
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
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
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
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.
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.
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.
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.
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.
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
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.
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.
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
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.
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
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.
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.
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
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.
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.
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.
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
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
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
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
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
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.
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
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
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.
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
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
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.
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.
Inherited from
Element.webkitMatchesSelector