Appearance
@tmrw-realityos/charm / ROSHost
Interface: ROSHost
Defined in: packages/charm/src/webComponents/plugin.ts:21
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Inherited from
Element.ariaValueText
assignedSlot
readonlyassignedSlot:null|HTMLSlotElement
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:22553
Inherited from
Element.assignedSlot
ATTRIBUTE_NODE
readonlyATTRIBUTE_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
readonlyattributes:NamedNodeMap
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8231
Inherited from
Element.attributes
baseURI
readonlybaseURI: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.
Inherited from
Element.baseURI
camera
camera:
Camera
Defined in: packages/charm/src/webComponents/plugin.ts:22
CDATA_SECTION_NODE
readonlyCDATA_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
readonlychildElementCount:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17745
Inherited from
Element.childElementCount
childNodes
readonlychildNodes:NodeListOf<ChildNode>
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17033
Returns the children.
Inherited from
Element.childNodes
children
readonlychildren:HTMLCollection
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17751
Returns the child elements.
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.
Inherited from
Element.className
clientHeight
readonlyclientHeight:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8246
Inherited from
Element.clientHeight
clientLeft
readonlyclientLeft:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8248
Inherited from
Element.clientLeft
clientTop
readonlyclientTop:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8250
Inherited from
Element.clientTop
clientWidth
readonlyclientWidth:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8252
Inherited from
Element.clientWidth
COMMENT_NODE
readonlyCOMMENT_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
readonlycurrentCSSZoom:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8254
Inherited from
Element.currentCSSZoom
DOCUMENT_FRAGMENT_NODE
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyDOCUMENT_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
readonlyELEMENT_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
readonlyENTITY_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
readonlyENTITY_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
readonlyfirstChild:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17039
Returns the first child.
Inherited from
Element.firstChild
firstElementChild
readonlyfirstElementChild: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.
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.
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
Inherited from
Element.innerHTML
isConnected
readonlyisConnected: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.
Inherited from
Element.isConnected
lastChild
readonlylastChild:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17051
Returns the last child.
Inherited from
Element.lastChild
lastElementChild
readonlylastElementChild: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.
Inherited from
Element.lastElementChild
localName
readonlylocalName:string
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8268
Returns the local name.
Inherited from
Element.localName
models
models:
object
Defined in: packages/charm/src/webComponents/plugin.ts:24
add()
add(
node,sourceModel,url):void
Parameters
node
sourceModel
unknown
url
string
Returns
void
remove()
remove(
node):void
Parameters
node
Returns
void
namespaceURI
readonlynamespaceURI:null|string
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8274
Returns the namespace.
Inherited from
Element.namespaceURI
nextElementSibling
readonlynextElementSibling: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.
Inherited from
Element.nextElementSibling
nextSibling
readonlynextSibling:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17057
Returns the next sibling.
Inherited from
Element.nextSibling
nodeName
readonlynodeName: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.
Inherited from
Element.nodeName
nodeType
readonlynodeType:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17069
Returns the type of node.
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
Inherited from
Element.nodeValue
NOTATION_NODE
readonlyNOTATION_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
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
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
Inherited from
Element.outerHTML
ownerDocument
readonlyownerDocument: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.
Inherited from
Element.ownerDocument
parentElement
readonlyparentElement:null|HTMLElement
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17083
Returns the parent element.
Inherited from
Element.parentElement
parentNode
readonlyparentNode:null|ParentNode
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17089
Returns the parent.
Inherited from
Element.parentNode
prefix
readonlyprefix:null|string
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8290
Returns the namespace prefix.
Inherited from
Element.prefix
previousElementSibling
readonlypreviousElementSibling: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.
Inherited from
Element.previousElementSibling
previousSibling
readonlypreviousSibling:null|ChildNode
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:17095
Returns the previous sibling.
Inherited from
Element.previousSibling
PROCESSING_INSTRUCTION_NODE
readonlyPROCESSING_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
readonlyscrollHeight:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8292
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
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
Inherited from
Element.scrollTop
scrollWidth
readonlyscrollWidth:number
Defined in: node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts:8298
Inherited from
Element.scrollWidth
shadowRoot
readonlyshadowRoot: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.
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.
Inherited from
Element.slot
tagName
readonlytagName: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.
Inherited from
Element.tagName
TEXT_NODE
readonlyTEXT_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
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.
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
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:29
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.
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
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.
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
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.
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.
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
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.
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.
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.
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
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.
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.
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
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.
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.
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
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
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.
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
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
Returns
DOMRectList
Inherited from
Element.getClientRects
getDebugInfo()
getDebugInfo():
undefined|DebugInfo
Defined in: packages/charm/src/webComponents/plugin.ts:34
Returns
undefined | DebugInfo
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.
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
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
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
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.
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.
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.
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.
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.
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
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
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
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
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
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
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.
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
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
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
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.
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.
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.
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.
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.
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
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.
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.
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
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.
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
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.
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.
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
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.
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.
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.
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
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
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
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
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
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.
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
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
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.
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
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
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.
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.
Inherited from
Element.webkitMatchesSelector