Class: TW_Element
core.TW_Element
Hierarchy
-
HTMLElement
↳
TW_Element
Table of contents
Constructors
Properties
- ATTRIBUTE_NODE
- CDATA_SECTION_NODE
- COMMENT_NODE
- DOCUMENT_FRAGMENT_NODE
- DOCUMENT_NODE
- DOCUMENT_POSITION_CONTAINED_BY
- DOCUMENT_POSITION_CONTAINS
- DOCUMENT_POSITION_DISCONNECTED
- DOCUMENT_POSITION_FOLLOWING
- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
- DOCUMENT_POSITION_PRECEDING
- DOCUMENT_TYPE_NODE
- ELEMENT_NODE
- ENTITY_NODE
- ENTITY_REFERENCE_NODE
- NOTATION_NODE
- PROCESSING_INSTRUCTION_NODE
- TEXT_NODE
- _style
- accessKey
- accessKeyLabel
- appendChild
- ariaAtomic
- ariaAutoComplete
- ariaBusy
- ariaChecked
- ariaColCount
- ariaColIndex
- ariaColSpan
- ariaCurrent
- ariaDisabled
- ariaExpanded
- ariaHasPopup
- ariaHidden
- ariaInvalid
- ariaKeyShortcuts
- ariaLabel
- ariaLevel
- ariaLive
- ariaModal
- ariaMultiLine
- ariaMultiSelectable
- ariaOrientation
- ariaPlaceholder
- ariaPosInSet
- ariaPressed
- ariaReadOnly
- ariaRequired
- ariaRoleDescription
- ariaRowCount
- ariaRowIndex
- ariaRowSpan
- ariaSelected
- ariaSetSize
- ariaSort
- ariaValueMax
- ariaValueMin
- ariaValueNow
- ariaValueText
- assignedSlot
- attributeStyleMap
- attributes
- autocapitalize
- autofocus
- baseURI
- childElementCount
- childNodes
- children
- classList
- className
- clientHeight
- clientLeft
- clientTop
- clientWidth
- contentEditable
- dataset
- dir
- draggable
- enterKeyHint
- firstChild
- firstElementChild
- hidden
- id
- inert
- innerHTML
- innerText
- inputMode
- isConnected
- isContentEditable
- isRaw
- isTiddlyWikiFakeDom
- lang
- lastChild
- lastElementChild
- localName
- namespaceURI
- nextElementSibling
- nextSibling
- nodeName
- nodeType
- nodeValue
- nonce
- offsetHeight
- offsetLeft
- offsetParent
- offsetTop
- offsetWidth
- onabort
- onanimationcancel
- onanimationend
- onanimationiteration
- onanimationstart
- onauxclick
- onbeforeinput
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncopy
- oncuechange
- oncut
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- onformdata
- onfullscreenchange
- onfullscreenerror
- ongotpointercapture
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadstart
- onlostpointercapture
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpaste
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onprogress
- onratechange
- onreset
- onresize
- onscroll
- onscrollend
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onselectionchange
- onselectstart
- onslotchange
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvolumechange
- onwaiting
- onwebkitanimationend
- onwebkitanimationiteration
- onwebkitanimationstart
- onwebkittransitionend
- onwheel
- outerHTML
- outerText
- ownerDocument
- parentElement
- parentNode
- part
- popover
- prefix
- previousElementSibling
- previousSibling
- role
- scrollHeight
- scrollLeft
- scrollTop
- scrollWidth
- shadowRoot
- slot
- spellcheck
- style
- tabIndex
- tag
- tagName
- textContent
- title
- translate
Methods
- addEventListener
- after
- animate
- append
- attachInternals
- attachShadow
- before
- blur
- checkVisibility
- click
- cloneNode
- closest
- compareDocumentPosition
- computedStyleMap
- contains
- dispatchEvent
- focus
- getAnimations
- getAttribute
- getAttributeNS
- getAttributeNames
- getAttributeNode
- getAttributeNodeNS
- getBoundingClientRect
- getClientRects
- getElementsByClassName
- getElementsByTagName
- getElementsByTagNameNS
- getRootNode
- hasAttribute
- hasAttributeNS
- hasAttributes
- hasChildNodes
- hasPointerCapture
- hidePopover
- insertAdjacentElement
- insertAdjacentHTML
- insertAdjacentText
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- lookupNamespaceURI
- lookupPrefix
- matches
- normalize
- prepend
- querySelector
- querySelectorAll
- releasePointerCapture
- remove
- removeAttribute
- removeAttributeNS
- removeAttributeNode
- removeChild
- removeEventListener
- replaceChild
- replaceChildren
- replaceWith
- requestFullscreen
- requestPointerLock
- scroll
- scrollBy
- scrollIntoView
- scrollTo
- setAttribute
- setAttributeNS
- setAttributeNode
- setAttributeNodeNS
- setPointerCapture
- showPopover
- toggleAttribute
- togglePopover
- webkitMatchesSelector
Constructors
constructor
• new TW_Element(): TW_Element
Returns
Inherited from
HTMLElement.constructor
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10106
Properties
ATTRIBUTE_NODE
• Readonly
ATTRIBUTE_NODE: 2
Inherited from
HTMLElement.ATTRIBUTE_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16205
CDATA_SECTION_NODE
• Readonly
CDATA_SECTION_NODE: 4
node is a CDATASection node.
Inherited from
HTMLElement.CDATA_SECTION_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16209
COMMENT_NODE
• Readonly
COMMENT_NODE: 8
node is a Comment node.
Inherited from
HTMLElement.COMMENT_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16215
DOCUMENT_FRAGMENT_NODE
• Readonly
DOCUMENT_FRAGMENT_NODE: 11
node is a DocumentFragment node.
Inherited from
HTMLElement.DOCUMENT_FRAGMENT_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16221
DOCUMENT_NODE
• Readonly
DOCUMENT_NODE: 9
node is a document.
Inherited from
HTMLElement.DOCUMENT_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16217
DOCUMENT_POSITION_CONTAINED_BY
• Readonly
DOCUMENT_POSITION_CONTAINED_BY: 16
Set when other is a descendant of node.
Inherited from
HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16232
DOCUMENT_POSITION_CONTAINS
• Readonly
DOCUMENT_POSITION_CONTAINS: 8
Set when other is an ancestor of node.
Inherited from
HTMLElement.DOCUMENT_POSITION_CONTAINS
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16230
DOCUMENT_POSITION_DISCONNECTED
• Readonly
DOCUMENT_POSITION_DISCONNECTED: 1
Set when node and other are not in the same tree.
Inherited from
HTMLElement.DOCUMENT_POSITION_DISCONNECTED
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16224
DOCUMENT_POSITION_FOLLOWING
• Readonly
DOCUMENT_POSITION_FOLLOWING: 4
Set when other is following node.
Inherited from
HTMLElement.DOCUMENT_POSITION_FOLLOWING
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16228
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
• Readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
Inherited from
HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16233
DOCUMENT_POSITION_PRECEDING
• Readonly
DOCUMENT_POSITION_PRECEDING: 2
Set when other is preceding node.
Inherited from
HTMLElement.DOCUMENT_POSITION_PRECEDING
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16226
DOCUMENT_TYPE_NODE
• Readonly
DOCUMENT_TYPE_NODE: 10
node is a doctype.
Inherited from
HTMLElement.DOCUMENT_TYPE_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16219
ELEMENT_NODE
• Readonly
ELEMENT_NODE: 1
node is an element.
Inherited from
HTMLElement.ELEMENT_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16204
ENTITY_NODE
• Readonly
ENTITY_NODE: 6
Inherited from
HTMLElement.ENTITY_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16211
ENTITY_REFERENCE_NODE
• Readonly
ENTITY_REFERENCE_NODE: 5
Inherited from
HTMLElement.ENTITY_REFERENCE_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16210
NOTATION_NODE
• Readonly
NOTATION_NODE: 12
Inherited from
HTMLElement.NOTATION_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16222
PROCESSING_INSTRUCTION_NODE
• Readonly
PROCESSING_INSTRUCTION_NODE: 7
node is a ProcessingInstruction node.
Inherited from
HTMLElement.PROCESSING_INSTRUCTION_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16213
TEXT_NODE
• Readonly
TEXT_NODE: 3
node is a Text node.
Inherited from
HTMLElement.TEXT_NODE
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16207
_style
• _style: Record
<string
, unknown
>
Defined in
src/modules/utils/fakedom.d.ts:3
accessKey
• accessKey: string
Inherited from
HTMLElement.accessKey
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10053
accessKeyLabel
• Readonly
accessKeyLabel: string
Inherited from
HTMLElement.accessKeyLabel
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10055
appendChild
• appendChild: <T>(node
: T
) => T
Type declaration
▸ <T
>(node
): T
Type parameters
Name | Type |
---|---|
T | extends Node | TW_Element | TW_TextNode |
Parameters
Name | Type |
---|---|
node | T |
Returns
T
Overrides
HTMLElement.appendChild
Defined in
src/modules/utils/fakedom.d.ts:4
ariaAtomic
• ariaAtomic: string
Inherited from
HTMLElement.ariaAtomic
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2209
ariaAutoComplete
• ariaAutoComplete: string
Inherited from
HTMLElement.ariaAutoComplete
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2211
ariaBusy
• ariaBusy: string
Inherited from
HTMLElement.ariaBusy
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2213
ariaChecked
• ariaChecked: string
Inherited from
HTMLElement.ariaChecked
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2215
ariaColCount
• ariaColCount: string
Inherited from
HTMLElement.ariaColCount
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2217
ariaColIndex
• ariaColIndex: string
Inherited from
HTMLElement.ariaColIndex
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2219
ariaColSpan
• ariaColSpan: string
Inherited from
HTMLElement.ariaColSpan
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2221
ariaCurrent
• ariaCurrent: string
Inherited from
HTMLElement.ariaCurrent
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2223
ariaDisabled
• ariaDisabled: string
Inherited from
HTMLElement.ariaDisabled
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2225
ariaExpanded
• ariaExpanded: string
Inherited from
HTMLElement.ariaExpanded
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2227
ariaHasPopup
• ariaHasPopup: string
Inherited from
HTMLElement.ariaHasPopup
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2229
ariaHidden
• ariaHidden: string
Inherited from
HTMLElement.ariaHidden
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2231
ariaInvalid
• ariaInvalid: string
Inherited from
HTMLElement.ariaInvalid
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2232
ariaKeyShortcuts
• ariaKeyShortcuts: string
Inherited from
HTMLElement.ariaKeyShortcuts
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2234
ariaLabel
• ariaLabel: string
Inherited from
HTMLElement.ariaLabel
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2236
ariaLevel
• ariaLevel: string
Inherited from
HTMLElement.ariaLevel
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2238
ariaLive
• ariaLive: string
Inherited from
HTMLElement.ariaLive
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2240
ariaModal
• ariaModal: string
Inherited from
HTMLElement.ariaModal
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2242
ariaMultiLine
• ariaMultiLine: string
Inherited from
HTMLElement.ariaMultiLine
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2244
ariaMultiSelectable
• ariaMultiSelectable: string
Inherited from
HTMLElement.ariaMultiSelectable
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2246
ariaOrientation
• ariaOrientation: string
Inherited from
HTMLElement.ariaOrientation
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2248
ariaPlaceholder
• ariaPlaceholder: string
Inherited from
HTMLElement.ariaPlaceholder
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2250
ariaPosInSet
• ariaPosInSet: string
Inherited from
HTMLElement.ariaPosInSet
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2252
ariaPressed
• ariaPressed: string
Inherited from
HTMLElement.ariaPressed
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2254
ariaReadOnly
• ariaReadOnly: string
Inherited from
HTMLElement.ariaReadOnly
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2256
ariaRequired
• ariaRequired: string
Inherited from
HTMLElement.ariaRequired
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2258
ariaRoleDescription
• ariaRoleDescription: string
Inherited from
HTMLElement.ariaRoleDescription
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2260
ariaRowCount
• ariaRowCount: string
Inherited from
HTMLElement.ariaRowCount
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2262
ariaRowIndex
• ariaRowIndex: string
Inherited from
HTMLElement.ariaRowIndex
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2264
ariaRowSpan
• ariaRowSpan: string
Inherited from
HTMLElement.ariaRowSpan
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2266
ariaSelected
• ariaSelected: string
Inherited from
HTMLElement.ariaSelected
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2268
ariaSetSize
• ariaSetSize: string
Inherited from
HTMLElement.ariaSetSize
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2270
ariaSort
• ariaSort: string
Inherited from
HTMLElement.ariaSort
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2272
ariaValueMax
• ariaValueMax: string
Inherited from
HTMLElement.ariaValueMax
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2274
ariaValueMin
• ariaValueMin: string
Inherited from
HTMLElement.ariaValueMin
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2276
ariaValueNow
• ariaValueNow: string
Inherited from
HTMLElement.ariaValueNow
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2278
ariaValueText
• ariaValueText: string
Inherited from
HTMLElement.ariaValueText
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:2280
assignedSlot
• Readonly
assignedSlot: HTMLSlotElement
Inherited from
HTMLElement.assignedSlot
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:21296
attributeStyleMap
• Readonly
attributeStyleMap: StylePropertyMap
Inherited from
HTMLElement.attributeStyleMap
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7855
attributes
• Readonly
attributes: NamedNodeMap
Inherited from
HTMLElement.attributes
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7600
autocapitalize
• autocapitalize: string
Inherited from
HTMLElement.autocapitalize
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10056
autofocus
• autofocus: boolean
Inherited from
HTMLElement.autofocus
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:12045
baseURI
• Readonly
baseURI: string
Returns node's node document's document base URL.
Inherited from
HTMLElement.baseURI
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16074
childElementCount
• Readonly
childElementCount: number
Inherited from
HTMLElement.childElementCount
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16763
childNodes
• Readonly
childNodes: NodeListOf
<ChildNode
>
Returns the children.
Inherited from
HTMLElement.childNodes
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16080
children
• Readonly
children: HTMLCollection
Returns the child elements.
Inherited from
HTMLElement.children
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16769
classList
• Readonly
classList: DOMTokenList
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Inherited from
HTMLElement.classList
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7606
className
• className: string
Returns the value of element's class content attribute. Can be set to change it.
Inherited from
HTMLElement.className
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7612
clientHeight
• Readonly
clientHeight: number
Inherited from
HTMLElement.clientHeight
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7614
clientLeft
• Readonly
clientLeft: number
Inherited from
HTMLElement.clientLeft
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7616
clientTop
• Readonly
clientTop: number
Inherited from
HTMLElement.clientTop
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7618
clientWidth
• Readonly
clientWidth: number
Inherited from
HTMLElement.clientWidth
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7620
contentEditable
• contentEditable: string
Inherited from
HTMLElement.contentEditable
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7862
dataset
• Readonly
dataset: DOMStringMap
Inherited from
HTMLElement.dataset
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:12047
dir
• dir: string
Inherited from
HTMLElement.dir
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10058
draggable
• draggable: boolean
Inherited from
HTMLElement.draggable
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10060
enterKeyHint
• enterKeyHint: string
Inherited from
HTMLElement.enterKeyHint
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7864
firstChild
• Readonly
firstChild: ChildNode
Returns the first child.
Inherited from
HTMLElement.firstChild
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16086
firstElementChild
• Readonly
firstElementChild: Element
Returns the first child that is an element, and null otherwise.
Inherited from
HTMLElement.firstElementChild
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16775
hidden
• hidden: boolean
Inherited from
HTMLElement.hidden
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10062
id
• id: string
Returns the value of element's id content attribute. Can be set to change it.
Inherited from
HTMLElement.id
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7626
inert
• inert: boolean
Inherited from
HTMLElement.inert
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10064
innerHTML
• innerHTML: string
Inherited from
HTMLElement.innerHTML
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:14279
innerText
• innerText: string
Inherited from
HTMLElement.innerText
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10066
inputMode
• inputMode: string
Inherited from
HTMLElement.inputMode
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7866
isConnected
• Readonly
isConnected: boolean
Returns true if node is connected and false otherwise.
Inherited from
HTMLElement.isConnected
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16092
isContentEditable
• Readonly
isContentEditable: boolean
Inherited from
HTMLElement.isContentEditable
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7868
isRaw
• isRaw: boolean
Defined in
src/modules/utils/fakedom.d.ts:5
isTiddlyWikiFakeDom
• isTiddlyWikiFakeDom: boolean
Defined in
src/modules/utils/fakedom.d.ts:6
lang
• lang: string
Inherited from
HTMLElement.lang
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10068
lastChild
• Readonly
lastChild: ChildNode
Returns the last child.
Inherited from
HTMLElement.lastChild
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16098
lastElementChild
• Readonly
lastElementChild: Element
Returns the last child that is an element, and null otherwise.
Inherited from
HTMLElement.lastElementChild
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16781
localName
• Readonly
localName: string
Returns the local name.
Inherited from
HTMLElement.localName
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7632
namespaceURI
• namespaceURI: string
Overrides
HTMLElement.namespaceURI
Defined in
src/modules/utils/fakedom.d.ts:7
nextElementSibling
• Readonly
nextElementSibling: Element
Returns the first following sibling that is an element, and null otherwise.
Inherited from
HTMLElement.nextElementSibling
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16354
nextSibling
• Readonly
nextSibling: ChildNode
Returns the next sibling.
Inherited from
HTMLElement.nextSibling
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16104
nodeName
• Readonly
nodeName: string
Returns a string appropriate for the type of node.
Inherited from
HTMLElement.nodeName
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16110
nodeType
• Readonly
nodeType: number
Returns the type of node.
Inherited from
HTMLElement.nodeType
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16116
nodeValue
• nodeValue: string
Inherited from
HTMLElement.nodeValue
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:16118
nonce
• Optional
nonce: string
Inherited from
HTMLElement.nonce
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:12049
offsetHeight
• Readonly
offsetHeight: number
Inherited from
HTMLElement.offsetHeight
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10070
offsetLeft
• Readonly
offsetLeft: number
Inherited from
HTMLElement.offsetLeft
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10072
offsetParent
• Readonly
offsetParent: Element
Inherited from
HTMLElement.offsetParent
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10074
offsetTop
• Readonly
offsetTop: number
Inherited from
HTMLElement.offsetTop
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10076
offsetWidth
• Readonly
offsetWidth: number
Inherited from
HTMLElement.offsetWidth
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:10078
onabort
• onabort: (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Fires when the user aborts the download.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires when the user aborts the download.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | UIEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onabort
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8948
onanimationcancel
• onanimationcancel: (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | AnimationEvent |
Returns
any
Inherited from
HTMLElement.onanimationcancel
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8950
onanimationend
• onanimationend: (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | AnimationEvent |
Returns
any
Inherited from
HTMLElement.onanimationend
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8952
onanimationiteration
• onanimationiteration: (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | AnimationEvent |
Returns
any
Inherited from
HTMLElement.onanimationiteration
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8954
onanimationstart
• onanimationstart: (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | AnimationEvent |
Returns
any
Inherited from
HTMLElement.onanimationstart
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8956
onauxclick
• onauxclick: (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | MouseEvent |
Returns
any
Inherited from
HTMLElement.onauxclick
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8958
onbeforeinput
• onbeforeinput: (this
: GlobalEventHandlers
, ev
: InputEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | InputEvent |
Returns
any
Inherited from
HTMLElement.onbeforeinput
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8960
onblur
• onblur: (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object loses the input focus.
Param
The focus event.
Type declaration
▸ (this
, ev
): any
Fires when the object loses the input focus.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | FocusEvent | The focus event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onblur
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8967
oncancel
• oncancel: (this
: GlobalEventHandlers
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | Event |
Returns
any
Inherited from
HTMLElement.oncancel
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8969
oncanplay
• oncanplay: (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is possible, but would require further buffering.
Param
The event.
Type declaration
▸ (this
, ev
): any
Occurs when playback is possible, but would require further buffering.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | Event | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.oncanplay
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8976
oncanplaythrough
• oncanplaythrough: (this
: GlobalEventHandlers
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | Event |
Returns
any
Inherited from
HTMLElement.oncanplaythrough
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8978
onchange
• onchange: (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the contents of the object or selection have changed.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires when the contents of the object or selection have changed.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | Event | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onchange
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8985
onclick
• onclick: (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
Type declaration
▸ (this
, ev
): any
Fires when the user clicks the left mouse button on the object
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | MouseEvent | The mouse event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onclick
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8992
onclose
• onclose: (this
: GlobalEventHandlers
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | Event |
Returns
any
Inherited from
HTMLElement.onclose
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:8994
oncontextmenu
• oncontextmenu: (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Param
The mouse event.
Type declaration
▸ (this
, ev
): any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | MouseEvent | The mouse event. MDN Reference |
Returns
any
Inherited from
HTMLElement.oncontextmenu
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9001
oncopy
• oncopy: (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | ClipboardEvent |
Returns
any
Inherited from
HTMLElement.oncopy
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9003
oncuechange
• oncuechange: (this
: GlobalEventHandlers
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | Event |
Returns
any
Inherited from
HTMLElement.oncuechange
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9005
oncut
• oncut: (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | ClipboardEvent |
Returns
any
Inherited from
HTMLElement.oncut
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9007
ondblclick
• ondblclick: (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user double-clicks the object.
Param
The mouse event.
Type declaration
▸ (this
, ev
): any
Fires when the user double-clicks the object.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | MouseEvent | The mouse event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondblclick
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9014
ondrag
• ondrag: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object continuously during a drag operation.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires on the source object continuously during a drag operation.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondrag
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9021
ondragend
• ondragend: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object when the user releases the mouse at the close of a drag operation.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires on the source object when the user releases the mouse at the close of a drag operation.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondragend
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9028
ondragenter
• ondragenter: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the target element when the user drags the object to a valid drop target.
Param
The drag event.
Type declaration
▸ (this
, ev
): any
Fires on the target element when the user drags the object to a valid drop target.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The drag event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondragenter
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9035
ondragleave
• ondragleave: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Param
The drag event.
Type declaration
▸ (this
, ev
): any
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The drag event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondragleave
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9042
ondragover
• ondragover: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the target element continuously while the user drags the object over a valid drop target.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires on the target element continuously while the user drags the object over a valid drop target.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondragover
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9049
ondragstart
• ondragstart: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object when the user starts to drag a text selection or selected object.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires on the source object when the user starts to drag a text selection or selected object.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | DragEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondragstart
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9056
ondrop
• ondrop: (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | DragEvent |
Returns
any
Inherited from
HTMLElement.ondrop
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9058
ondurationchange
• ondurationchange: (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration attribute is updated.
Param
The event.
Type declaration
▸ (this
, ev
): any
Occurs when the duration attribute is updated.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | Event | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.ondurationchange
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9065
onemptied
• onemptied: (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the media element is reset to its initial state.
Param
The event.
Type declaration
▸ (this
, ev
): any
Occurs when the media element is reset to its initial state.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | Event | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onemptied
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9072
onended
• onended: (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the end of playback is reached.
Param
The event
Type declaration
▸ (this
, ev
): any
Occurs when the end of playback is reached.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | Event | The event MDN Reference |
Returns
any
Inherited from
HTMLElement.onended
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9079
onerror
• onerror: OnErrorEventHandlerNonNull
Fires when an error occurs during object loading.
Param
The event.
Inherited from
HTMLElement.onerror
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9086
onfocus
• onfocus: (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object receives focus.
Param
The event.
Type declaration
▸ (this
, ev
): any
Fires when the object receives focus.
Parameters
Name | Type | Description |
---|---|---|
this | GlobalEventHandlers | - |
ev | FocusEvent | The event. MDN Reference |
Returns
any
Inherited from
HTMLElement.onfocus
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9093
onformdata
• onformdata: (this
: GlobalEventHandlers
, ev
: FormDataEvent
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | GlobalEventHandlers |
ev | FormDataEvent |
Returns
any
Inherited from
HTMLElement.onformdata
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:9095
onfullscreenchange
• onfullscreenchange: (this
: Element
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | Element |
ev | Event |
Returns
any
Inherited from
HTMLElement.onfullscreenchange
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7640
onfullscreenerror
• onfullscreenerror: (this
: Element
, ev
: Event
) => any
Type declaration
▸ (this
, ev
): any
Parameters
Name | Type |
---|---|
this | Element |
ev | Event |
Returns
any
Inherited from
HTMLElement.onfullscreenerror
Defined in
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts:7642