BlockSuite API Documentation / @blocksuite/presets / EditorContainer
Class: EditorContainer ​
Contents ​
- Extends
- Implements
- Other
- new EditorContainer(undefined)
- 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
- _disposables
_docPage?_edgelessPage?- accessKey
- accessKeyLabel
- 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
- disposables
- docSpecs
- draggable
- edgelessSpecs
- enterKeyHint
- firstChild
- firstElementChild
- hidden
- id
- inert
- innerHTML
- innerText
- inputMode
- isConnected
- isContentEditable
- lang
- lastChild
- lastElementChild
- localName
- mode
- 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
onwebkitanimationendonwebkitanimationiterationonwebkitanimationstartonwebkittransitionend- onwheel
- outerHTML
- outerText
- ownerDocument
- page
- parentElement
- parentNode
- part
- popover
- prefix
- previousElementSibling
- previousSibling
- role
- scrollHeight
- scrollLeft
- scrollTop
- scrollWidth
- shadowRoot
- slot
- slots
- spellcheck
- style
- tabIndex
- tagName
- textContent
- themeObserver
- title
- translate
- [metadata]
- _$litElement$
- _initializers?
- disableShadowRoot
- finalized
- model
- root
- addEventListener()
- after()
- animate()
- append()
- appendChild()
- attachInternals()
- attachShadow()
- before()
- blur()
- checkVisibility()
- click()
- cloneNode()
- closest()
- compareDocumentPosition()
- computedStyleMap()
- connectedCallback()
- contains()
- createRenderRoot()
- disconnectedCallback()
- dispatchEvent()
- firstUpdated()
- focus()
- getAnimations()
- getAttribute()
- getAttributeNS()
- getAttributeNames()
- getAttributeNode()
- getAttributeNodeNS()
- getBoundingClientRect()
- getClientRects()
- getElementsByClassName()
- getElementsByTagName()
- getElementsByTagNameNS()
- getRootNode()
- getUpdateComplete()
- 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()
- render()
- replaceChild()
- replaceChildren()
- replaceWith()
- requestFullscreen()
- requestPointerLock()
- scroll()
- scrollBy()
- scrollIntoView()
- scrollTo()
- setAttribute()
- setAttributeNS()
- setAttributeNode()
- setAttributeNodeNS()
- setPointerCapture()
- showPopover()
- toggleAttribute()
- togglePopover()
- updated()
webkitMatchesSelector()- addInitializer()
- finalize()
- finalizeStyles()
- attributes
- controllers
- dev-mode
- properties
- rendering
- styles
- updates
Extends ​
ShadowlessElement
<this
> &DisposableClass
<this
>
Implements ​
AbstractEditor
Other ​
new EditorContainer(undefined) ​
new EditorContainer():
EditorContainer
Returns ​
Inherited from ​
WithDisposable(ShadowlessElement).constructor
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:504
ATTRIBUTE_NODE ​
readonly
ATTRIBUTE_NODE:2
Implementation of ​
AbstractEditor.ATTRIBUTE_NODE
Inherited from ​
WithDisposable(ShadowlessElement).ATTRIBUTE_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16205
CDATA_SECTION_NODE ​
readonly
CDATA_SECTION_NODE:4
node is a CDATASection node.
Implementation of ​
AbstractEditor.CDATA_SECTION_NODE
Inherited from ​
WithDisposable(ShadowlessElement).CDATA_SECTION_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16209
COMMENT_NODE ​
readonly
COMMENT_NODE:8
node is a Comment node.
Implementation of ​
AbstractEditor.COMMENT_NODE
Inherited from ​
WithDisposable(ShadowlessElement).COMMENT_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16215
DOCUMENT_FRAGMENT_NODE ​
readonly
DOCUMENT_FRAGMENT_NODE:11
node is a DocumentFragment node.
Implementation of ​
AbstractEditor.DOCUMENT_FRAGMENT_NODE
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_FRAGMENT_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16221
DOCUMENT_NODE ​
readonly
DOCUMENT_NODE:9
node is a document.
Implementation of ​
AbstractEditor.DOCUMENT_NODE
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_CONTAINED_BY
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_CONTAINED_BY
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_CONTAINS
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_CONTAINS
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_DISCONNECTED
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_DISCONNECTED
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16224
DOCUMENT_POSITION_FOLLOWING ​
readonly
DOCUMENT_POSITION_FOLLOWING:4
Set when other is following node.
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_FOLLOWING
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_FOLLOWING
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16228
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ​
readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16233
DOCUMENT_POSITION_PRECEDING ​
readonly
DOCUMENT_POSITION_PRECEDING:2
Set when other is preceding node.
Implementation of ​
AbstractEditor.DOCUMENT_POSITION_PRECEDING
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_POSITION_PRECEDING
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16226
DOCUMENT_TYPE_NODE ​
readonly
DOCUMENT_TYPE_NODE:10
node is a doctype.
Implementation of ​
AbstractEditor.DOCUMENT_TYPE_NODE
Inherited from ​
WithDisposable(ShadowlessElement).DOCUMENT_TYPE_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16219
ELEMENT_NODE ​
readonly
ELEMENT_NODE:1
node is an element.
Implementation of ​
AbstractEditor.ELEMENT_NODE
Inherited from ​
WithDisposable(ShadowlessElement).ELEMENT_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16204
ENTITY_NODE ​
readonly
ENTITY_NODE:6
Implementation of ​
AbstractEditor.ENTITY_NODE
Inherited from ​
WithDisposable(ShadowlessElement).ENTITY_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16211
ENTITY_REFERENCE_NODE ​
readonly
ENTITY_REFERENCE_NODE:5
Implementation of ​
AbstractEditor.ENTITY_REFERENCE_NODE
Inherited from ​
WithDisposable(ShadowlessElement).ENTITY_REFERENCE_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16210
NOTATION_NODE ​
readonly
NOTATION_NODE:12
Implementation of ​
AbstractEditor.NOTATION_NODE
Inherited from ​
WithDisposable(ShadowlessElement).NOTATION_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16222
PROCESSING_INSTRUCTION_NODE ​
readonly
PROCESSING_INSTRUCTION_NODE:7
node is a ProcessingInstruction node.
Implementation of ​
AbstractEditor.PROCESSING_INSTRUCTION_NODE
Inherited from ​
WithDisposable(ShadowlessElement).PROCESSING_INSTRUCTION_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16213
TEXT_NODE ​
readonly
TEXT_NODE:3
node is a Text node.
Implementation of ​
AbstractEditor.TEXT_NODE
Inherited from ​
WithDisposable(ShadowlessElement).TEXT_NODE
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16207
_disposables ​
protected
_disposables:DisposableGroup
Inherited from ​
WithDisposable(ShadowlessElement)._disposables
Source ​
packages/lit/dist/with-disposable.d.ts:5
_docPage? ​
private
_docPage?:DocPageBlockComponent
Deprecated ​
unreliable since docSpecs can be overridden
Source ​
packages/presets/src/editors/editor-container.ts:62
_edgelessPage? ​
private
_edgelessPage?:EdgelessPageBlockComponent
Deprecated ​
unreliable since edgelessSpecs can be overridden
Source ​
packages/presets/src/editors/editor-container.ts:66
accessKey ​
accessKey:
string
Implementation of ​
AbstractEditor.accessKey
Inherited from ​
WithDisposable(ShadowlessElement).accessKey
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10053
accessKeyLabel ​
readonly
accessKeyLabel:string
Implementation of ​
AbstractEditor.accessKeyLabel
Inherited from ​
WithDisposable(ShadowlessElement).accessKeyLabel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10055
ariaAtomic ​
ariaAtomic:
null
|string
Implementation of ​
AbstractEditor.ariaAtomic
Inherited from ​
WithDisposable(ShadowlessElement).ariaAtomic
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2209
ariaAutoComplete ​
ariaAutoComplete:
null
|string
Implementation of ​
AbstractEditor.ariaAutoComplete
Inherited from ​
WithDisposable(ShadowlessElement).ariaAutoComplete
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2211
ariaBusy ​
ariaBusy:
null
|string
Implementation of ​
AbstractEditor.ariaBusy
Inherited from ​
WithDisposable(ShadowlessElement).ariaBusy
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2213
ariaChecked ​
ariaChecked:
null
|string
Implementation of ​
AbstractEditor.ariaChecked
Inherited from ​
WithDisposable(ShadowlessElement).ariaChecked
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2215
ariaColCount ​
ariaColCount:
null
|string
Implementation of ​
AbstractEditor.ariaColCount
Inherited from ​
WithDisposable(ShadowlessElement).ariaColCount
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2217
ariaColIndex ​
ariaColIndex:
null
|string
Implementation of ​
AbstractEditor.ariaColIndex
Inherited from ​
WithDisposable(ShadowlessElement).ariaColIndex
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2219
ariaColSpan ​
ariaColSpan:
null
|string
Implementation of ​
AbstractEditor.ariaColSpan
Inherited from ​
WithDisposable(ShadowlessElement).ariaColSpan
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2221
ariaCurrent ​
ariaCurrent:
null
|string
Implementation of ​
AbstractEditor.ariaCurrent
Inherited from ​
WithDisposable(ShadowlessElement).ariaCurrent
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2223
ariaDisabled ​
ariaDisabled:
null
|string
Implementation of ​
AbstractEditor.ariaDisabled
Inherited from ​
WithDisposable(ShadowlessElement).ariaDisabled
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2225
ariaExpanded ​
ariaExpanded:
null
|string
Implementation of ​
AbstractEditor.ariaExpanded
Inherited from ​
WithDisposable(ShadowlessElement).ariaExpanded
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2227
ariaHasPopup ​
ariaHasPopup:
null
|string
Implementation of ​
AbstractEditor.ariaHasPopup
Inherited from ​
WithDisposable(ShadowlessElement).ariaHasPopup
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2229
ariaHidden ​
ariaHidden:
null
|string
Implementation of ​
AbstractEditor.ariaHidden
Inherited from ​
WithDisposable(ShadowlessElement).ariaHidden
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2231
ariaInvalid ​
ariaInvalid:
null
|string
Implementation of ​
AbstractEditor.ariaInvalid
Inherited from ​
WithDisposable(ShadowlessElement).ariaInvalid
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2232
ariaKeyShortcuts ​
ariaKeyShortcuts:
null
|string
Implementation of ​
AbstractEditor.ariaKeyShortcuts
Inherited from ​
WithDisposable(ShadowlessElement).ariaKeyShortcuts
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2234
ariaLabel ​
ariaLabel:
null
|string
Implementation of ​
AbstractEditor.ariaLabel
Inherited from ​
WithDisposable(ShadowlessElement).ariaLabel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2236
ariaLevel ​
ariaLevel:
null
|string
Implementation of ​
AbstractEditor.ariaLevel
Inherited from ​
WithDisposable(ShadowlessElement).ariaLevel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2238
ariaLive ​
ariaLive:
null
|string
Implementation of ​
AbstractEditor.ariaLive
Inherited from ​
WithDisposable(ShadowlessElement).ariaLive
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2240
ariaModal ​
ariaModal:
null
|string
Implementation of ​
AbstractEditor.ariaModal
Inherited from ​
WithDisposable(ShadowlessElement).ariaModal
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2242
ariaMultiLine ​
ariaMultiLine:
null
|string
Implementation of ​
AbstractEditor.ariaMultiLine
Inherited from ​
WithDisposable(ShadowlessElement).ariaMultiLine
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2244
ariaMultiSelectable ​
ariaMultiSelectable:
null
|string
Implementation of ​
AbstractEditor.ariaMultiSelectable
Inherited from ​
WithDisposable(ShadowlessElement).ariaMultiSelectable
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2246
ariaOrientation ​
ariaOrientation:
null
|string
Implementation of ​
AbstractEditor.ariaOrientation
Inherited from ​
WithDisposable(ShadowlessElement).ariaOrientation
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2248
ariaPlaceholder ​
ariaPlaceholder:
null
|string
Implementation of ​
AbstractEditor.ariaPlaceholder
Inherited from ​
WithDisposable(ShadowlessElement).ariaPlaceholder
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2250
ariaPosInSet ​
ariaPosInSet:
null
|string
Implementation of ​
AbstractEditor.ariaPosInSet
Inherited from ​
WithDisposable(ShadowlessElement).ariaPosInSet
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2252
ariaPressed ​
ariaPressed:
null
|string
Implementation of ​
AbstractEditor.ariaPressed
Inherited from ​
WithDisposable(ShadowlessElement).ariaPressed
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2254
ariaReadOnly ​
ariaReadOnly:
null
|string
Implementation of ​
AbstractEditor.ariaReadOnly
Inherited from ​
WithDisposable(ShadowlessElement).ariaReadOnly
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2256
ariaRequired ​
ariaRequired:
null
|string
Implementation of ​
AbstractEditor.ariaRequired
Inherited from ​
WithDisposable(ShadowlessElement).ariaRequired
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2258
ariaRoleDescription ​
ariaRoleDescription:
null
|string
Implementation of ​
AbstractEditor.ariaRoleDescription
Inherited from ​
WithDisposable(ShadowlessElement).ariaRoleDescription
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2260
ariaRowCount ​
ariaRowCount:
null
|string
Implementation of ​
AbstractEditor.ariaRowCount
Inherited from ​
WithDisposable(ShadowlessElement).ariaRowCount
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2262
ariaRowIndex ​
ariaRowIndex:
null
|string
Implementation of ​
AbstractEditor.ariaRowIndex
Inherited from ​
WithDisposable(ShadowlessElement).ariaRowIndex
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2264
ariaRowSpan ​
ariaRowSpan:
null
|string
Implementation of ​
AbstractEditor.ariaRowSpan
Inherited from ​
WithDisposable(ShadowlessElement).ariaRowSpan
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2266
ariaSelected ​
ariaSelected:
null
|string
Implementation of ​
AbstractEditor.ariaSelected
Inherited from ​
WithDisposable(ShadowlessElement).ariaSelected
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2268
ariaSetSize ​
ariaSetSize:
null
|string
Implementation of ​
AbstractEditor.ariaSetSize
Inherited from ​
WithDisposable(ShadowlessElement).ariaSetSize
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2270
ariaSort ​
ariaSort:
null
|string
Implementation of ​
AbstractEditor.ariaSort
Inherited from ​
WithDisposable(ShadowlessElement).ariaSort
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2272
ariaValueMax ​
ariaValueMax:
null
|string
Implementation of ​
AbstractEditor.ariaValueMax
Inherited from ​
WithDisposable(ShadowlessElement).ariaValueMax
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2274
ariaValueMin ​
ariaValueMin:
null
|string
Implementation of ​
AbstractEditor.ariaValueMin
Inherited from ​
WithDisposable(ShadowlessElement).ariaValueMin
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2276
ariaValueNow ​
ariaValueNow:
null
|string
Implementation of ​
AbstractEditor.ariaValueNow
Inherited from ​
WithDisposable(ShadowlessElement).ariaValueNow
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2278
ariaValueText ​
ariaValueText:
null
|string
Implementation of ​
AbstractEditor.ariaValueText
Inherited from ​
WithDisposable(ShadowlessElement).ariaValueText
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2280
assignedSlot ​
readonly
assignedSlot:null
|HTMLSlotElement
Implementation of ​
AbstractEditor.assignedSlot
Inherited from ​
WithDisposable(ShadowlessElement).assignedSlot
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:21296
attributeStyleMap ​
readonly
attributeStyleMap:StylePropertyMap
Implementation of ​
AbstractEditor.attributeStyleMap
Inherited from ​
WithDisposable(ShadowlessElement).attributeStyleMap
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7855
attributes ​
readonly
attributes:NamedNodeMap
Implementation of ​
AbstractEditor.attributes
Inherited from ​
WithDisposable(ShadowlessElement).attributes
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7600
autocapitalize ​
autocapitalize:
string
Implementation of ​
AbstractEditor.autocapitalize
Inherited from ​
WithDisposable(ShadowlessElement).autocapitalize
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10056
autofocus ​
autofocus:
boolean
=false
Implementation of ​
AbstractEditor.autofocus
Overrides ​
WithDisposable(ShadowlessElement).autofocus
Source ​
packages/presets/src/editors/editor-container.ts:58
baseURI ​
readonly
baseURI:string
Returns node's node document's document base URL.
Implementation of ​
AbstractEditor.baseURI
Inherited from ​
WithDisposable(ShadowlessElement).baseURI
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16074
childElementCount ​
readonly
childElementCount:number
Implementation of ​
AbstractEditor.childElementCount
Inherited from ​
WithDisposable(ShadowlessElement).childElementCount
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16763
childNodes ​
readonly
childNodes:NodeListOf
<ChildNode
>
Returns the children.
Implementation of ​
AbstractEditor.childNodes
Inherited from ​
WithDisposable(ShadowlessElement).childNodes
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16080
children ​
readonly
children:HTMLCollection
Returns the child elements.
Implementation of ​
AbstractEditor.children
Inherited from ​
WithDisposable(ShadowlessElement).children
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.classList
Inherited from ​
WithDisposable(ShadowlessElement).classList
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.className
Inherited from ​
WithDisposable(ShadowlessElement).className
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7612
clientHeight ​
readonly
clientHeight:number
Implementation of ​
AbstractEditor.clientHeight
Inherited from ​
WithDisposable(ShadowlessElement).clientHeight
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7614
clientLeft ​
readonly
clientLeft:number
Implementation of ​
AbstractEditor.clientLeft
Inherited from ​
WithDisposable(ShadowlessElement).clientLeft
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7616
clientTop ​
readonly
clientTop:number
Implementation of ​
AbstractEditor.clientTop
Inherited from ​
WithDisposable(ShadowlessElement).clientTop
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7618
clientWidth ​
readonly
clientWidth:number
Implementation of ​
AbstractEditor.clientWidth
Inherited from ​
WithDisposable(ShadowlessElement).clientWidth
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7620
contentEditable ​
contentEditable:
string
Implementation of ​
AbstractEditor.contentEditable
Inherited from ​
WithDisposable(ShadowlessElement).contentEditable
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7862
dataset ​
readonly
dataset:DOMStringMap
Implementation of ​
AbstractEditor.dataset
Inherited from ​
WithDisposable(ShadowlessElement).dataset
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:12047
dir ​
dir:
string
Implementation of ​
AbstractEditor.dir
Inherited from ​
WithDisposable(ShadowlessElement).dir
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10058
disposables ​
readonly
disposables:DisposableGroup
Inherited from ​
WithDisposable(ShadowlessElement).disposables
Source ​
packages/lit/dist/with-disposable.d.ts:4
docSpecs ​
docSpecs:
BlockSpec
<string
>[] =DocEditorBlockSpecs
Source ​
packages/presets/src/editors/editor-container.ts:52
draggable ​
draggable:
boolean
Implementation of ​
AbstractEditor.draggable
Inherited from ​
WithDisposable(ShadowlessElement).draggable
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10060
edgelessSpecs ​
edgelessSpecs:
BlockSpec
<string
>[] =EdgelessEditorBlockSpecs
Source ​
packages/presets/src/editors/editor-container.ts:55
enterKeyHint ​
enterKeyHint:
string
Implementation of ​
AbstractEditor.enterKeyHint
Inherited from ​
WithDisposable(ShadowlessElement).enterKeyHint
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7864
firstChild ​
readonly
firstChild:null
|ChildNode
Returns the first child.
Implementation of ​
AbstractEditor.firstChild
Inherited from ​
WithDisposable(ShadowlessElement).firstChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16086
firstElementChild ​
readonly
firstElementChild:null
|Element
Returns the first child that is an element, and null otherwise.
Implementation of ​
AbstractEditor.firstElementChild
Inherited from ​
WithDisposable(ShadowlessElement).firstElementChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16775
hidden ​
hidden:
boolean
Implementation of ​
AbstractEditor.hidden
Inherited from ​
WithDisposable(ShadowlessElement).hidden
Source ​
node_modules/.pnpm/typescript@5.3.2/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.
Implementation of ​
AbstractEditor.id
Inherited from ​
WithDisposable(ShadowlessElement).id
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7626
inert ​
inert:
boolean
Implementation of ​
AbstractEditor.inert
Inherited from ​
WithDisposable(ShadowlessElement).inert
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10064
innerHTML ​
innerHTML:
string
Implementation of ​
AbstractEditor.innerHTML
Inherited from ​
WithDisposable(ShadowlessElement).innerHTML
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:14279
innerText ​
innerText:
string
Implementation of ​
AbstractEditor.innerText
Inherited from ​
WithDisposable(ShadowlessElement).innerText
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10066
inputMode ​
inputMode:
string
Implementation of ​
AbstractEditor.inputMode
Inherited from ​
WithDisposable(ShadowlessElement).inputMode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7866
isConnected ​
readonly
isConnected:boolean
Returns true if node is connected and false otherwise.
Implementation of ​
AbstractEditor.isConnected
Inherited from ​
WithDisposable(ShadowlessElement).isConnected
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16092
isContentEditable ​
readonly
isContentEditable:boolean
Implementation of ​
AbstractEditor.isContentEditable
Inherited from ​
WithDisposable(ShadowlessElement).isContentEditable
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7868
lang ​
lang:
string
Implementation of ​
AbstractEditor.lang
Inherited from ​
WithDisposable(ShadowlessElement).lang
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10068
lastChild ​
readonly
lastChild:null
|ChildNode
Returns the last child.
Implementation of ​
AbstractEditor.lastChild
Inherited from ​
WithDisposable(ShadowlessElement).lastChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16098
lastElementChild ​
readonly
lastElementChild:null
|Element
Returns the last child that is an element, and null otherwise.
Implementation of ​
AbstractEditor.lastElementChild
Inherited from ​
WithDisposable(ShadowlessElement).lastElementChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16781
localName ​
readonly
localName:string
Returns the local name.
Implementation of ​
AbstractEditor.localName
Inherited from ​
WithDisposable(ShadowlessElement).localName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7632
mode ​
mode:
"page"
|"edgeless"
='page'
Due to product naming, DocEditor
may be referred to as "page mode"
Implementation of ​
AbstractEditor.mode
Source ​
packages/presets/src/editors/editor-container.ts:49
namespaceURI ​
readonly
namespaceURI:null
|string
Returns the namespace.
Implementation of ​
AbstractEditor.namespaceURI
Inherited from ​
WithDisposable(ShadowlessElement).namespaceURI
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7638
nextElementSibling ​
readonly
nextElementSibling:null
|Element
Returns the first following sibling that is an element, and null otherwise.
Implementation of ​
AbstractEditor.nextElementSibling
Inherited from ​
WithDisposable(ShadowlessElement).nextElementSibling
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16354
nextSibling ​
readonly
nextSibling:null
|ChildNode
Returns the next sibling.
Implementation of ​
AbstractEditor.nextSibling
Inherited from ​
WithDisposable(ShadowlessElement).nextSibling
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16104
nodeName ​
readonly
nodeName:string
Returns a string appropriate for the type of node.
Implementation of ​
AbstractEditor.nodeName
Inherited from ​
WithDisposable(ShadowlessElement).nodeName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16110
nodeType ​
readonly
nodeType:number
Returns the type of node.
Implementation of ​
AbstractEditor.nodeType
Inherited from ​
WithDisposable(ShadowlessElement).nodeType
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16116
nodeValue ​
nodeValue:
null
|string
Implementation of ​
AbstractEditor.nodeValue
Inherited from ​
WithDisposable(ShadowlessElement).nodeValue
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16118
nonce? ​
nonce?:
string
Implementation of ​
AbstractEditor.nonce
Inherited from ​
WithDisposable(ShadowlessElement).nonce
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:12049
offsetHeight ​
readonly
offsetHeight:number
Implementation of ​
AbstractEditor.offsetHeight
Inherited from ​
WithDisposable(ShadowlessElement).offsetHeight
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10070
offsetLeft ​
readonly
offsetLeft:number
Implementation of ​
AbstractEditor.offsetLeft
Inherited from ​
WithDisposable(ShadowlessElement).offsetLeft
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10072
offsetParent ​
readonly
offsetParent:null
|Element
Implementation of ​
AbstractEditor.offsetParent
Inherited from ​
WithDisposable(ShadowlessElement).offsetParent
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10074
offsetTop ​
readonly
offsetTop:number
Implementation of ​
AbstractEditor.offsetTop
Inherited from ​
WithDisposable(ShadowlessElement).offsetTop
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10076
offsetWidth ​
readonly
offsetWidth:number
Implementation of ​
AbstractEditor.offsetWidth
Inherited from ​
WithDisposable(ShadowlessElement).offsetWidth
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10078
onabort ​
onabort:
null
| (this
,ev
) =>any
Fires when the user aborts the download.
Param ​
The event.
Implementation of ​
AbstractEditor.onabort
Inherited from ​
WithDisposable(ShadowlessElement).onabort
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8948
onanimationcancel ​
onanimationcancel:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onanimationcancel
Inherited from ​
WithDisposable(ShadowlessElement).onanimationcancel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8950
onanimationend ​
onanimationend:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onanimationend
Inherited from ​
WithDisposable(ShadowlessElement).onanimationend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8952
onanimationiteration ​
onanimationiteration:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onanimationiteration
Inherited from ​
WithDisposable(ShadowlessElement).onanimationiteration
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8954
onanimationstart ​
onanimationstart:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onanimationstart
Inherited from ​
WithDisposable(ShadowlessElement).onanimationstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8956
onauxclick ​
onauxclick:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onauxclick
Inherited from ​
WithDisposable(ShadowlessElement).onauxclick
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8958
onbeforeinput ​
onbeforeinput:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onbeforeinput
Inherited from ​
WithDisposable(ShadowlessElement).onbeforeinput
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8960
onblur ​
onblur:
null
| (this
,ev
) =>any
Fires when the object loses the input focus.
Param ​
The focus event.
Implementation of ​
AbstractEditor.onblur
Inherited from ​
WithDisposable(ShadowlessElement).onblur
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8967
oncancel ​
oncancel:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oncancel
Inherited from ​
WithDisposable(ShadowlessElement).oncancel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8969
oncanplay ​
oncanplay:
null
| (this
,ev
) =>any
Occurs when playback is possible, but would require further buffering.
Param ​
The event.
Implementation of ​
AbstractEditor.oncanplay
Inherited from ​
WithDisposable(ShadowlessElement).oncanplay
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8976
oncanplaythrough ​
oncanplaythrough:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oncanplaythrough
Inherited from ​
WithDisposable(ShadowlessElement).oncanplaythrough
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8978
onchange ​
onchange:
null
| (this
,ev
) =>any
Fires when the contents of the object or selection have changed.
Param ​
The event.
Implementation of ​
AbstractEditor.onchange
Inherited from ​
WithDisposable(ShadowlessElement).onchange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8985
onclick ​
onclick:
null
| (this
,ev
) =>any
Fires when the user clicks the left mouse button on the object
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onclick
Inherited from ​
WithDisposable(ShadowlessElement).onclick
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8992
onclose ​
onclose:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onclose
Inherited from ​
WithDisposable(ShadowlessElement).onclose
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8994
oncontextmenu ​
oncontextmenu:
null
| (this
,ev
) =>any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.oncontextmenu
Inherited from ​
WithDisposable(ShadowlessElement).oncontextmenu
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9001
oncopy ​
oncopy:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oncopy
Inherited from ​
WithDisposable(ShadowlessElement).oncopy
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9003
oncuechange ​
oncuechange:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oncuechange
Inherited from ​
WithDisposable(ShadowlessElement).oncuechange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9005
oncut ​
oncut:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oncut
Inherited from ​
WithDisposable(ShadowlessElement).oncut
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9007
ondblclick ​
ondblclick:
null
| (this
,ev
) =>any
Fires when the user double-clicks the object.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.ondblclick
Inherited from ​
WithDisposable(ShadowlessElement).ondblclick
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9014
ondrag ​
ondrag:
null
| (this
,ev
) =>any
Fires on the source object continuously during a drag operation.
Param ​
The event.
Implementation of ​
AbstractEditor.ondrag
Inherited from ​
WithDisposable(ShadowlessElement).ondrag
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9021
ondragend ​
ondragend:
null
| (this
,ev
) =>any
Fires on the source object when the user releases the mouse at the close of a drag operation.
Param ​
The event.
Implementation of ​
AbstractEditor.ondragend
Inherited from ​
WithDisposable(ShadowlessElement).ondragend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9028
ondragenter ​
ondragenter:
null
| (this
,ev
) =>any
Fires on the target element when the user drags the object to a valid drop target.
Param ​
The drag event.
Implementation of ​
AbstractEditor.ondragenter
Inherited from ​
WithDisposable(ShadowlessElement).ondragenter
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9035
ondragleave ​
ondragleave:
null
| (this
,ev
) =>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.
Implementation of ​
AbstractEditor.ondragleave
Inherited from ​
WithDisposable(ShadowlessElement).ondragleave
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9042
ondragover ​
ondragover:
null
| (this
,ev
) =>any
Fires on the target element continuously while the user drags the object over a valid drop target.
Param ​
The event.
Implementation of ​
AbstractEditor.ondragover
Inherited from ​
WithDisposable(ShadowlessElement).ondragover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9049
ondragstart ​
ondragstart:
null
| (this
,ev
) =>any
Fires on the source object when the user starts to drag a text selection or selected object.
Param ​
The event.
Implementation of ​
AbstractEditor.ondragstart
Inherited from ​
WithDisposable(ShadowlessElement).ondragstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9056
ondrop ​
ondrop:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ondrop
Inherited from ​
WithDisposable(ShadowlessElement).ondrop
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9058
ondurationchange ​
ondurationchange:
null
| (this
,ev
) =>any
Occurs when the duration attribute is updated.
Param ​
The event.
Implementation of ​
AbstractEditor.ondurationchange
Inherited from ​
WithDisposable(ShadowlessElement).ondurationchange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9065
onemptied ​
onemptied:
null
| (this
,ev
) =>any
Occurs when the media element is reset to its initial state.
Param ​
The event.
Implementation of ​
AbstractEditor.onemptied
Inherited from ​
WithDisposable(ShadowlessElement).onemptied
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9072
onended ​
onended:
null
| (this
,ev
) =>any
Occurs when the end of playback is reached.
Param ​
The event
Implementation of ​
AbstractEditor.onended
Inherited from ​
WithDisposable(ShadowlessElement).onended
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9079
onerror ​
onerror:
OnErrorEventHandler
Fires when an error occurs during object loading.
Param ​
The event.
Implementation of ​
AbstractEditor.onerror
Inherited from ​
WithDisposable(ShadowlessElement).onerror
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9086
onfocus ​
onfocus:
null
| (this
,ev
) =>any
Fires when the object receives focus.
Param ​
The event.
Implementation of ​
AbstractEditor.onfocus
Inherited from ​
WithDisposable(ShadowlessElement).onfocus
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9093
onformdata ​
onformdata:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onformdata
Inherited from ​
WithDisposable(ShadowlessElement).onformdata
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9095
onfullscreenchange ​
onfullscreenchange:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onfullscreenchange
Inherited from ​
WithDisposable(ShadowlessElement).onfullscreenchange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7640
onfullscreenerror ​
onfullscreenerror:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onfullscreenerror
Inherited from ​
WithDisposable(ShadowlessElement).onfullscreenerror
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7642
ongotpointercapture ​
ongotpointercapture:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ongotpointercapture
Inherited from ​
WithDisposable(ShadowlessElement).ongotpointercapture
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9097
oninput ​
oninput:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oninput
Inherited from ​
WithDisposable(ShadowlessElement).oninput
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9099
oninvalid ​
oninvalid:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.oninvalid
Inherited from ​
WithDisposable(ShadowlessElement).oninvalid
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9101
onkeydown ​
onkeydown:
null
| (this
,ev
) =>any
Fires when the user presses a key.
Param ​
The keyboard event
Implementation of ​
AbstractEditor.onkeydown
Inherited from ​
WithDisposable(ShadowlessElement).onkeydown
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9108
onkeypress ​
onkeypress:
null
| (this
,ev
) =>any
Fires when the user presses an alphanumeric key.
Param ​
The event.
Deprecated ​
Implementation of ​
AbstractEditor.onkeypress
Inherited from ​
WithDisposable(ShadowlessElement).onkeypress
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9116
onkeyup ​
onkeyup:
null
| (this
,ev
) =>any
Fires when the user releases a key.
Param ​
The keyboard event
Implementation of ​
AbstractEditor.onkeyup
Inherited from ​
WithDisposable(ShadowlessElement).onkeyup
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9123
onload ​
onload:
null
| (this
,ev
) =>any
Fires immediately after the browser loads the object.
Param ​
The event.
Implementation of ​
AbstractEditor.onload
Inherited from ​
WithDisposable(ShadowlessElement).onload
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9130
onloadeddata ​
onloadeddata:
null
| (this
,ev
) =>any
Occurs when media data is loaded at the current playback position.
Param ​
The event.
Implementation of ​
AbstractEditor.onloadeddata
Inherited from ​
WithDisposable(ShadowlessElement).onloadeddata
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9137
onloadedmetadata ​
onloadedmetadata:
null
| (this
,ev
) =>any
Occurs when the duration and dimensions of the media have been determined.
Param ​
The event.
Implementation of ​
AbstractEditor.onloadedmetadata
Inherited from ​
WithDisposable(ShadowlessElement).onloadedmetadata
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9144
onloadstart ​
onloadstart:
null
| (this
,ev
) =>any
Occurs when Internet Explorer begins looking for media data.
Param ​
The event.
Implementation of ​
AbstractEditor.onloadstart
Inherited from ​
WithDisposable(ShadowlessElement).onloadstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9151
onlostpointercapture ​
onlostpointercapture:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onlostpointercapture
Inherited from ​
WithDisposable(ShadowlessElement).onlostpointercapture
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9153
onmousedown ​
onmousedown:
null
| (this
,ev
) =>any
Fires when the user clicks the object with either mouse button.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onmousedown
Inherited from ​
WithDisposable(ShadowlessElement).onmousedown
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9160
onmouseenter ​
onmouseenter:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onmouseenter
Inherited from ​
WithDisposable(ShadowlessElement).onmouseenter
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9162
onmouseleave ​
onmouseleave:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onmouseleave
Inherited from ​
WithDisposable(ShadowlessElement).onmouseleave
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9164
onmousemove ​
onmousemove:
null
| (this
,ev
) =>any
Fires when the user moves the mouse over the object.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onmousemove
Inherited from ​
WithDisposable(ShadowlessElement).onmousemove
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9171
onmouseout ​
onmouseout:
null
| (this
,ev
) =>any
Fires when the user moves the mouse pointer outside the boundaries of the object.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onmouseout
Inherited from ​
WithDisposable(ShadowlessElement).onmouseout
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9178
onmouseover ​
onmouseover:
null
| (this
,ev
) =>any
Fires when the user moves the mouse pointer into the object.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onmouseover
Inherited from ​
WithDisposable(ShadowlessElement).onmouseover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9185
onmouseup ​
onmouseup:
null
| (this
,ev
) =>any
Fires when the user releases a mouse button while the mouse is over the object.
Param ​
The mouse event.
Implementation of ​
AbstractEditor.onmouseup
Inherited from ​
WithDisposable(ShadowlessElement).onmouseup
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9192
onpaste ​
onpaste:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpaste
Inherited from ​
WithDisposable(ShadowlessElement).onpaste
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9194
onpause ​
onpause:
null
| (this
,ev
) =>any
Occurs when playback is paused.
Param ​
The event.
Implementation of ​
AbstractEditor.onpause
Inherited from ​
WithDisposable(ShadowlessElement).onpause
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9201
onplay ​
onplay:
null
| (this
,ev
) =>any
Occurs when the play method is requested.
Param ​
The event.
Implementation of ​
AbstractEditor.onplay
Inherited from ​
WithDisposable(ShadowlessElement).onplay
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9208
onplaying ​
onplaying:
null
| (this
,ev
) =>any
Occurs when the audio or video has started playing.
Param ​
The event.
Implementation of ​
AbstractEditor.onplaying
Inherited from ​
WithDisposable(ShadowlessElement).onplaying
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9215
onpointercancel ​
onpointercancel:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointercancel
Inherited from ​
WithDisposable(ShadowlessElement).onpointercancel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9217
onpointerdown ​
onpointerdown:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerdown
Inherited from ​
WithDisposable(ShadowlessElement).onpointerdown
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9219
onpointerenter ​
onpointerenter:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerenter
Inherited from ​
WithDisposable(ShadowlessElement).onpointerenter
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9221
onpointerleave ​
onpointerleave:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerleave
Inherited from ​
WithDisposable(ShadowlessElement).onpointerleave
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9223
onpointermove ​
onpointermove:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointermove
Inherited from ​
WithDisposable(ShadowlessElement).onpointermove
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9225
onpointerout ​
onpointerout:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerout
Inherited from ​
WithDisposable(ShadowlessElement).onpointerout
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9227
onpointerover ​
onpointerover:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerover
Inherited from ​
WithDisposable(ShadowlessElement).onpointerover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9229
onpointerup ​
onpointerup:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onpointerup
Inherited from ​
WithDisposable(ShadowlessElement).onpointerup
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9231
onprogress ​
onprogress:
null
| (this
,ev
) =>any
Occurs to indicate progress while downloading media data.
Param ​
The event.
Implementation of ​
AbstractEditor.onprogress
Inherited from ​
WithDisposable(ShadowlessElement).onprogress
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9238
onratechange ​
onratechange:
null
| (this
,ev
) =>any
Occurs when the playback rate is increased or decreased.
Param ​
The event.
Implementation of ​
AbstractEditor.onratechange
Inherited from ​
WithDisposable(ShadowlessElement).onratechange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9245
onreset ​
onreset:
null
| (this
,ev
) =>any
Fires when the user resets a form.
Param ​
The event.
Implementation of ​
AbstractEditor.onreset
Inherited from ​
WithDisposable(ShadowlessElement).onreset
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9252
onresize ​
onresize:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onresize
Inherited from ​
WithDisposable(ShadowlessElement).onresize
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9254
onscroll ​
onscroll:
null
| (this
,ev
) =>any
Fires when the user repositions the scroll box in the scroll bar on the object.
Param ​
The event.
Implementation of ​
AbstractEditor.onscroll
Inherited from ​
WithDisposable(ShadowlessElement).onscroll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9261
onscrollend ​
onscrollend:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onscrollend
Inherited from ​
WithDisposable(ShadowlessElement).onscrollend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9263
onsecuritypolicyviolation ​
onsecuritypolicyviolation:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onsecuritypolicyviolation
Inherited from ​
WithDisposable(ShadowlessElement).onsecuritypolicyviolation
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9265
onseeked ​
onseeked:
null
| (this
,ev
) =>any
Occurs when the seek operation ends.
Param ​
The event.
Implementation of ​
AbstractEditor.onseeked
Inherited from ​
WithDisposable(ShadowlessElement).onseeked
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9272
onseeking ​
onseeking:
null
| (this
,ev
) =>any
Occurs when the current playback position is moved.
Param ​
The event.
Implementation of ​
AbstractEditor.onseeking
Inherited from ​
WithDisposable(ShadowlessElement).onseeking
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9279
onselect ​
onselect:
null
| (this
,ev
) =>any
Fires when the current selection changes.
Param ​
The event.
Implementation of ​
AbstractEditor.onselect
Inherited from ​
WithDisposable(ShadowlessElement).onselect
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9286
onselectionchange ​
onselectionchange:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onselectionchange
Inherited from ​
WithDisposable(ShadowlessElement).onselectionchange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9288
onselectstart ​
onselectstart:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onselectstart
Inherited from ​
WithDisposable(ShadowlessElement).onselectstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9290
onslotchange ​
onslotchange:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onslotchange
Inherited from ​
WithDisposable(ShadowlessElement).onslotchange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9292
onstalled ​
onstalled:
null
| (this
,ev
) =>any
Occurs when the download has stopped.
Param ​
The event.
Implementation of ​
AbstractEditor.onstalled
Inherited from ​
WithDisposable(ShadowlessElement).onstalled
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9299
onsubmit ​
onsubmit:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onsubmit
Inherited from ​
WithDisposable(ShadowlessElement).onsubmit
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9301
onsuspend ​
onsuspend:
null
| (this
,ev
) =>any
Occurs if the load operation has been intentionally halted.
Param ​
The event.
Implementation of ​
AbstractEditor.onsuspend
Inherited from ​
WithDisposable(ShadowlessElement).onsuspend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9308
ontimeupdate ​
ontimeupdate:
null
| (this
,ev
) =>any
Occurs to indicate the current playback position.
Param ​
The event.
Implementation of ​
AbstractEditor.ontimeupdate
Inherited from ​
WithDisposable(ShadowlessElement).ontimeupdate
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9315
ontoggle ​
ontoggle:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontoggle
Inherited from ​
WithDisposable(ShadowlessElement).ontoggle
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9317
ontouchcancel? ​
ontouchcancel?:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontouchcancel
Inherited from ​
WithDisposable(ShadowlessElement).ontouchcancel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9319
ontouchend? ​
ontouchend?:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontouchend
Inherited from ​
WithDisposable(ShadowlessElement).ontouchend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9321
ontouchmove? ​
ontouchmove?:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontouchmove
Inherited from ​
WithDisposable(ShadowlessElement).ontouchmove
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9323
ontouchstart? ​
ontouchstart?:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontouchstart
Inherited from ​
WithDisposable(ShadowlessElement).ontouchstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9325
ontransitioncancel ​
ontransitioncancel:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontransitioncancel
Inherited from ​
WithDisposable(ShadowlessElement).ontransitioncancel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9327
ontransitionend ​
ontransitionend:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontransitionend
Inherited from ​
WithDisposable(ShadowlessElement).ontransitionend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9329
ontransitionrun ​
ontransitionrun:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontransitionrun
Inherited from ​
WithDisposable(ShadowlessElement).ontransitionrun
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9331
ontransitionstart ​
ontransitionstart:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.ontransitionstart
Inherited from ​
WithDisposable(ShadowlessElement).ontransitionstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9333
onvolumechange ​
onvolumechange:
null
| (this
,ev
) =>any
Occurs when the volume is changed, or playback is muted or unmuted.
Param ​
The event.
Implementation of ​
AbstractEditor.onvolumechange
Inherited from ​
WithDisposable(ShadowlessElement).onvolumechange
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9340
onwaiting ​
onwaiting:
null
| (this
,ev
) =>any
Occurs when playback stops because the next frame of a video resource is not available.
Param ​
The event.
Implementation of ​
AbstractEditor.onwaiting
Inherited from ​
WithDisposable(ShadowlessElement).onwaiting
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9347
onwebkitanimationend ​
onwebkitanimationend:
null
| (this
,ev
) =>any
Deprecated ​
This is a legacy alias of onanimationend
.
Implementation of ​
AbstractEditor.onwebkitanimationend
Inherited from ​
WithDisposable(ShadowlessElement).onwebkitanimationend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9353
onwebkitanimationiteration ​
onwebkitanimationiteration:
null
| (this
,ev
) =>any
Deprecated ​
This is a legacy alias of onanimationiteration
.
Implementation of ​
AbstractEditor.onwebkitanimationiteration
Inherited from ​
WithDisposable(ShadowlessElement).onwebkitanimationiteration
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9359
onwebkitanimationstart ​
onwebkitanimationstart:
null
| (this
,ev
) =>any
Deprecated ​
This is a legacy alias of onanimationstart
.
Implementation of ​
AbstractEditor.onwebkitanimationstart
Inherited from ​
WithDisposable(ShadowlessElement).onwebkitanimationstart
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9365
onwebkittransitionend ​
onwebkittransitionend:
null
| (this
,ev
) =>any
Deprecated ​
This is a legacy alias of ontransitionend
.
Implementation of ​
AbstractEditor.onwebkittransitionend
Inherited from ​
WithDisposable(ShadowlessElement).onwebkittransitionend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9371
onwheel ​
onwheel:
null
| (this
,ev
) =>any
Implementation of ​
AbstractEditor.onwheel
Inherited from ​
WithDisposable(ShadowlessElement).onwheel
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:9373
outerHTML ​
outerHTML:
string
Implementation of ​
AbstractEditor.outerHTML
Inherited from ​
WithDisposable(ShadowlessElement).outerHTML
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7644
outerText ​
outerText:
string
Implementation of ​
AbstractEditor.outerText
Inherited from ​
WithDisposable(ShadowlessElement).outerText
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10080
ownerDocument ​
readonly
ownerDocument:Document
Implementation of ​
AbstractEditor.ownerDocument
Inherited from ​
WithDisposable(ShadowlessElement).ownerDocument
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7645
page ​
page:
Page
Implementation of ​
AbstractEditor.page
Source ​
packages/presets/src/editors/editor-container.ts:45
parentElement ​
readonly
parentElement:null
|HTMLElement
Returns the parent element.
Implementation of ​
AbstractEditor.parentElement
Inherited from ​
WithDisposable(ShadowlessElement).parentElement
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16130
parentNode ​
readonly
parentNode:null
|ParentNode
Returns the parent.
Implementation of ​
AbstractEditor.parentNode
Inherited from ​
WithDisposable(ShadowlessElement).parentNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16136
part ​
readonly
part:DOMTokenList
Implementation of ​
AbstractEditor.part
Inherited from ​
WithDisposable(ShadowlessElement).part
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7647
popover ​
popover:
null
|string
Implementation of ​
AbstractEditor.popover
Inherited from ​
WithDisposable(ShadowlessElement).popover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10082
prefix ​
readonly
prefix:null
|string
Returns the namespace prefix.
Implementation of ​
AbstractEditor.prefix
Inherited from ​
WithDisposable(ShadowlessElement).prefix
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7653
previousElementSibling ​
readonly
previousElementSibling:null
|Element
Returns the first preceding sibling that is an element, and null otherwise.
Implementation of ​
AbstractEditor.previousElementSibling
Inherited from ​
WithDisposable(ShadowlessElement).previousElementSibling
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16360
previousSibling ​
readonly
previousSibling:null
|ChildNode
Returns the previous sibling.
Implementation of ​
AbstractEditor.previousSibling
Inherited from ​
WithDisposable(ShadowlessElement).previousSibling
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16142
role ​
role:
null
|string
Implementation of ​
AbstractEditor.role
Inherited from ​
WithDisposable(ShadowlessElement).role
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2281
scrollHeight ​
readonly
scrollHeight:number
Implementation of ​
AbstractEditor.scrollHeight
Inherited from ​
WithDisposable(ShadowlessElement).scrollHeight
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7655
scrollLeft ​
scrollLeft:
number
Implementation of ​
AbstractEditor.scrollLeft
Inherited from ​
WithDisposable(ShadowlessElement).scrollLeft
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7657
scrollTop ​
scrollTop:
number
Implementation of ​
AbstractEditor.scrollTop
Inherited from ​
WithDisposable(ShadowlessElement).scrollTop
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7659
scrollWidth ​
readonly
scrollWidth:number
Implementation of ​
AbstractEditor.scrollWidth
Inherited from ​
WithDisposable(ShadowlessElement).scrollWidth
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7661
shadowRoot ​
readonly
shadowRoot:null
|ShadowRoot
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Implementation of ​
AbstractEditor.shadowRoot
Inherited from ​
WithDisposable(ShadowlessElement).shadowRoot
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7667
slot ​
slot:
string
Returns the value of element's slot content attribute. Can be set to change it.
Implementation of ​
AbstractEditor.slot
Inherited from ​
WithDisposable(ShadowlessElement).slot
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7673
slots ​
slots:
RefNodeSlots
&EditorSlots
Implementation of ​
AbstractEditor.slots
Source ​
packages/presets/src/editors/editor-container.ts:80
spellcheck ​
spellcheck:
boolean
Implementation of ​
AbstractEditor.spellcheck
Inherited from ​
WithDisposable(ShadowlessElement).spellcheck
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10084
style ​
readonly
style:CSSStyleDeclaration
Implementation of ​
AbstractEditor.style
Inherited from ​
WithDisposable(ShadowlessElement).style
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7857
tabIndex ​
tabIndex:
number
Implementation of ​
AbstractEditor.tabIndex
Inherited from ​
WithDisposable(ShadowlessElement).tabIndex
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:12051
tagName ​
readonly
tagName:string
Returns the HTML-uppercased qualified name.
Implementation of ​
AbstractEditor.tagName
Inherited from ​
WithDisposable(ShadowlessElement).tagName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7679
textContent ​
textContent:
null
|string
Implementation of ​
AbstractEditor.textContent
Inherited from ​
WithDisposable(ShadowlessElement).textContent
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16144
themeObserver ​
readonly
themeObserver:ThemeObserver
Source ​
packages/presets/src/editors/editor-container.ts:74
title ​
title:
string
Implementation of ​
AbstractEditor.title
Inherited from ​
WithDisposable(ShadowlessElement).title
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10086
translate ​
translate:
boolean
Implementation of ​
AbstractEditor.translate
Inherited from ​
WithDisposable(ShadowlessElement).translate
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10087
[metadata] ​
static
[metadata]:object
&Record
<PropertyKey
,unknown
>
Inherited from ​
WithDisposable(ShadowlessElement).[metadata]
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:417
_$litElement$ ​
static
_$litElement$:boolean
Inherited from ​
WithDisposable(ShadowlessElement)._$litElement$
Source ​
node_modules/.pnpm/lit-element@4.0.2/node_modules/lit-element/development/lit-element.d.ts:84
_initializers? ​
static
_initializers?:Initializer
[]
Inherited from ​
WithDisposable(ShadowlessElement)._initializers
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:258
disableShadowRoot ​
static
disableShadowRoot:boolean
Inherited from ​
WithDisposable(ShadowlessElement).disableShadowRoot
Source ​
packages/lit/dist/element/shadowless-element.d.ts:4
finalized ​
protected
static
finalized:undefined
|true
Marks class as having been finalized, which includes creating properties from static properties
, but does not include all properties created from decorators.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).finalized
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:272
model ​
get
model():null
|PageBlockModel
Returns ​
null
| PageBlockModel
Source ​
packages/presets/src/editors/editor-container.ts:76
root ​
get
root():undefined
|BlockSuiteRoot
Returns ​
undefined
| BlockSuiteRoot
Source ​
packages/presets/src/editors/editor-container.ts:68
addEventListener() ​
addEventListener(type, listener, options) ​
addEventListener<
K
>(type
,listener
,options
?):void
Type parameters ​
• K extends keyof HTMLElementEventMap
Parameters ​
• type: K
• listener: (this
, ev
) => any
• options?: boolean
| AddEventListenerOptions
Returns ​
void
Implementation of ​
AbstractEditor.addEventListener
Inherited from ​
WithDisposable(ShadowlessElement).addEventListener
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10098
addEventListener(type, listener, options) ​
addEventListener(
type
,listener
,options
?):void
Parameters ​
• type: string
• listener: EventListenerOrEventListenerObject
• options?: boolean
| AddEventListenerOptions
Returns ​
void
Implementation of ​
AbstractEditor.addEventListener
Inherited from ​
WithDisposable(ShadowlessElement).addEventListener
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10099
after() ​
after(...
nodes
):void
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
Implementation of ​
AbstractEditor.after
Inherited from ​
WithDisposable(ShadowlessElement).after
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:5599
animate() ​
animate(
keyframes
,options
?):Animation
Parameters ​
• keyframes: null
| Keyframe
[] | PropertyIndexedKeyframes
• options?: number
| KeyframeAnimationOptions
Returns ​
Animation
Implementation of ​
AbstractEditor.animate
Inherited from ​
WithDisposable(ShadowlessElement).animate
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2431
append() ​
append(...
nodes
):void
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
Implementation of ​
AbstractEditor.append
Inherited from ​
WithDisposable(ShadowlessElement).append
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16789
appendChild() ​
appendChild<
T
>(node
):T
Type parameters ​
• T extends Node
Parameters ​
• node: T
Returns ​
T
Implementation of ​
AbstractEditor.appendChild
Inherited from ​
WithDisposable(ShadowlessElement).appendChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16146
attachInternals() ​
attachInternals():
ElementInternals
Returns ​
ElementInternals
Implementation of ​
AbstractEditor.attachInternals
Inherited from ​
WithDisposable(ShadowlessElement).attachInternals
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10089
attachShadow() ​
attachShadow(
init
):ShadowRoot
Creates a shadow root for element and returns it.
Parameters ​
• init: ShadowRootInit
Returns ​
ShadowRoot
Implementation of ​
AbstractEditor.attachShadow
Inherited from ​
WithDisposable(ShadowlessElement).attachShadow
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7685
before() ​
before(...
nodes
):void
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
Implementation of ​
AbstractEditor.before
Inherited from ​
WithDisposable(ShadowlessElement).before
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:5607
blur() ​
blur():
void
Returns ​
void
Implementation of ​
AbstractEditor.blur
Inherited from ​
WithDisposable(ShadowlessElement).blur
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:12053
checkVisibility() ​
checkVisibility(
options
?):boolean
Parameters ​
• options?: CheckVisibilityOptions
Returns ​
boolean
Implementation of ​
AbstractEditor.checkVisibility
Inherited from ​
WithDisposable(ShadowlessElement).checkVisibility
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7686
click() ​
click():
void
Returns ​
void
Implementation of ​
AbstractEditor.click
Inherited from ​
WithDisposable(ShadowlessElement).click
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10091
cloneNode() ​
cloneNode(
deep
?):Node
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Parameters ​
• deep?: boolean
Returns ​
Node
Implementation of ​
AbstractEditor.cloneNode
Inherited from ​
WithDisposable(ShadowlessElement).cloneNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16152
closest() ​
closest(selector) ​
closest<
K
>(selector
):null
|HTMLElementTagNameMap
[K
]
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
]
Implementation of ​
AbstractEditor.closest
Inherited from ​
WithDisposable(ShadowlessElement).closest
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7692
closest(selector) ​
closest<
K
>(selector
):null
|SVGElementTagNameMap
[K
]
Type parameters ​
• K extends keyof SVGElementTagNameMap
Parameters ​
• selector: K
Returns ​
null
| SVGElementTagNameMap
[K
]
Implementation of ​
AbstractEditor.closest
Inherited from ​
WithDisposable(ShadowlessElement).closest
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7693
closest(selector) ​
closest<
K
>(selector
):null
|MathMLElementTagNameMap
[K
]
Type parameters ​
• K extends keyof MathMLElementTagNameMap
Parameters ​
• selector: K
Returns ​
null
| MathMLElementTagNameMap
[K
]
Implementation of ​
AbstractEditor.closest
Inherited from ​
WithDisposable(ShadowlessElement).closest
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7694
closest(selectors) ​
closest<
E
>(selectors
):null
|E
Type parameters ​
• E extends Element
= Element
Parameters ​
• selectors: string
Returns ​
null
| E
Implementation of ​
AbstractEditor.closest
Inherited from ​
WithDisposable(ShadowlessElement).closest
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7695
compareDocumentPosition() ​
compareDocumentPosition(
other
):number
Returns a bitmask indicating the position of other relative to node.
Parameters ​
• other: Node
Returns ​
number
Implementation of ​
AbstractEditor.compareDocumentPosition
Inherited from ​
WithDisposable(ShadowlessElement).compareDocumentPosition
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16158
computedStyleMap() ​
computedStyleMap():
StylePropertyMapReadOnly
Returns ​
StylePropertyMapReadOnly
Implementation of ​
AbstractEditor.computedStyleMap
Inherited from ​
WithDisposable(ShadowlessElement).computedStyleMap
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7697
connectedCallback() ​
connectedCallback():
void
Returns ​
void
Overrides ​
WithDisposable(ShadowlessElement).connectedCallback
Source ​
packages/presets/src/editors/editor-container.ts:95
contains() ​
contains(
other
):boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Parameters ​
• other: null
| Node
Returns ​
boolean
Implementation of ​
AbstractEditor.contains
Inherited from ​
WithDisposable(ShadowlessElement).contains
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16164
createRenderRoot() ​
createRenderRoot():
HTMLElement
|DocumentFragment
Returns ​
HTMLElement
| DocumentFragment
Inherited from ​
WithDisposable(ShadowlessElement).createRenderRoot
Source ​
packages/lit/dist/element/shadowless-element.d.ts:6
disconnectedCallback() ​
disconnectedCallback():
void
Returns ​
void
Overrides ​
WithDisposable(ShadowlessElement).disconnectedCallback
Source ​
packages/presets/src/editors/editor-container.ts:115
dispatchEvent() ​
dispatchEvent(
event
):boolean
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
Implementation of ​
AbstractEditor.dispatchEvent
Inherited from ​
WithDisposable(ShadowlessElement).dispatchEvent
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:8217
firstUpdated() ​
firstUpdated():
void
Returns ​
void
Overrides ​
WithDisposable(ShadowlessElement).firstUpdated
Source ​
packages/presets/src/editors/editor-container.ts:119
focus() ​
focus(
options
?):void
Parameters ​
• options?: FocusOptions
Returns ​
void
Implementation of ​
AbstractEditor.focus
Inherited from ​
WithDisposable(ShadowlessElement).focus
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:12055
getAnimations() ​
getAnimations(
options
?):Animation
[]
Parameters ​
• options?: GetAnimationsOptions
Returns ​
Animation
[]
Implementation of ​
AbstractEditor.getAnimations
Inherited from ​
WithDisposable(ShadowlessElement).getAnimations
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:2433
getAttribute() ​
getAttribute(
qualifiedName
):null
|string
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
Implementation of ​
AbstractEditor.getAttribute
Inherited from ​
WithDisposable(ShadowlessElement).getAttribute
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7703
getAttributeNS() ​
getAttributeNS(
namespace
,localName
):null
|string
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
Implementation of ​
AbstractEditor.getAttributeNS
Inherited from ​
WithDisposable(ShadowlessElement).getAttributeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7709
getAttributeNames() ​
getAttributeNames():
string
[]
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns ​
string
[]
Implementation of ​
AbstractEditor.getAttributeNames
Inherited from ​
WithDisposable(ShadowlessElement).getAttributeNames
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7715
getAttributeNode() ​
getAttributeNode(
qualifiedName
):null
|Attr
Parameters ​
• qualifiedName: string
Returns ​
null
| Attr
Implementation of ​
AbstractEditor.getAttributeNode
Inherited from ​
WithDisposable(ShadowlessElement).getAttributeNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7717
getAttributeNodeNS() ​
getAttributeNodeNS(
namespace
,localName
):null
|Attr
Parameters ​
• namespace: null
| string
• localName: string
Returns ​
null
| Attr
Implementation of ​
AbstractEditor.getAttributeNodeNS
Inherited from ​
WithDisposable(ShadowlessElement).getAttributeNodeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7719
getBoundingClientRect() ​
getBoundingClientRect():
DOMRect
Returns ​
DOMRect
Implementation of ​
AbstractEditor.getBoundingClientRect
Inherited from ​
WithDisposable(ShadowlessElement).getBoundingClientRect
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7721
getClientRects() ​
getClientRects():
DOMRectList
Returns ​
DOMRectList
Implementation of ​
AbstractEditor.getClientRects
Inherited from ​
WithDisposable(ShadowlessElement).getClientRects
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7723
getElementsByClassName() ​
getElementsByClassName(
classNames
):HTMLCollectionOf
<Element
>
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
>
Implementation of ​
AbstractEditor.getElementsByClassName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByClassName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7729
getElementsByTagName() ​
getElementsByTagName(qualifiedName) ​
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Type parameters ​
• K extends keyof HTMLElementTagNameMap
Parameters ​
• qualifiedName: K
Returns ​
HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.getElementsByTagName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7731
getElementsByTagName(qualifiedName) ​
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Type parameters ​
• K extends keyof SVGElementTagNameMap
Parameters ​
• qualifiedName: K
Returns ​
HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.getElementsByTagName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7732
getElementsByTagName(qualifiedName) ​
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Type parameters ​
• K extends keyof MathMLElementTagNameMap
Parameters ​
• qualifiedName: K
Returns ​
HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.getElementsByTagName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7733
getElementsByTagName(qualifiedName) ​
getElementsByTagName<
K
>(qualifiedName
):HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Type parameters ​
• K extends keyof HTMLElementDeprecatedTagNameMap
Parameters ​
• qualifiedName: K
Returns ​
HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Implementation of ​
AbstractEditor.getElementsByTagName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagName
Deprecated ​
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7735
getElementsByTagName(qualifiedName) ​
getElementsByTagName(
qualifiedName
):HTMLCollectionOf
<Element
>
Parameters ​
• qualifiedName: string
Returns ​
HTMLCollectionOf
<Element
>
Implementation of ​
AbstractEditor.getElementsByTagName
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagName
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7736
getElementsByTagNameNS() ​
getElementsByTagNameNS(namespaceURI, localName) ​
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<HTMLElement
>
Parameters ​
• namespaceURI: "http://www.w3.org/1999/xhtml"
• localName: string
Returns ​
HTMLCollectionOf
<HTMLElement
>
Implementation of ​
AbstractEditor.getElementsByTagNameNS
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagNameNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7738
getElementsByTagNameNS(namespaceURI, localName) ​
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<SVGElement
>
Parameters ​
• namespaceURI: "http://www.w3.org/2000/svg"
• localName: string
Returns ​
HTMLCollectionOf
<SVGElement
>
Implementation of ​
AbstractEditor.getElementsByTagNameNS
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagNameNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7739
getElementsByTagNameNS(namespaceURI, localName) ​
getElementsByTagNameNS(
namespaceURI
,localName
):HTMLCollectionOf
<MathMLElement
>
Parameters ​
• namespaceURI: "http://www.w3.org/1998/Math/MathML"
• localName: string
Returns ​
HTMLCollectionOf
<MathMLElement
>
Implementation of ​
AbstractEditor.getElementsByTagNameNS
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagNameNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7740
getElementsByTagNameNS(namespace, localName) ​
getElementsByTagNameNS(
namespace
,localName
):HTMLCollectionOf
<Element
>
Parameters ​
• namespace: null
| string
• localName: string
Returns ​
HTMLCollectionOf
<Element
>
Implementation of ​
AbstractEditor.getElementsByTagNameNS
Inherited from ​
WithDisposable(ShadowlessElement).getElementsByTagNameNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7741
getRootNode() ​
getRootNode(
options
?):Node
Returns node's root.
Parameters ​
• options?: GetRootNodeOptions
Returns ​
Node
Implementation of ​
AbstractEditor.getRootNode
Inherited from ​
WithDisposable(ShadowlessElement).getRootNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16170
getUpdateComplete() ​
getUpdateComplete():
Promise
<boolean
>
Returns ​
Promise
<boolean
>
Overrides ​
WithDisposable(ShadowlessElement).getUpdateComplete
Source ​
packages/presets/src/editors/editor-container.ts:86
hasAttribute() ​
hasAttribute(
qualifiedName
):boolean
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Parameters ​
• qualifiedName: string
Returns ​
boolean
Implementation of ​
AbstractEditor.hasAttribute
Inherited from ​
WithDisposable(ShadowlessElement).hasAttribute
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7747
hasAttributeNS() ​
hasAttributeNS(
namespace
,localName
):boolean
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Parameters ​
• namespace: null
| string
• localName: string
Returns ​
boolean
Implementation of ​
AbstractEditor.hasAttributeNS
Inherited from ​
WithDisposable(ShadowlessElement).hasAttributeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7753
hasAttributes() ​
hasAttributes():
boolean
Returns true if element has attributes, and false otherwise.
Returns ​
boolean
Implementation of ​
AbstractEditor.hasAttributes
Inherited from ​
WithDisposable(ShadowlessElement).hasAttributes
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7759
hasChildNodes() ​
hasChildNodes():
boolean
Returns whether node has children.
Returns ​
boolean
Implementation of ​
AbstractEditor.hasChildNodes
Inherited from ​
WithDisposable(ShadowlessElement).hasChildNodes
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16176
hasPointerCapture() ​
hasPointerCapture(
pointerId
):boolean
Parameters ​
• pointerId: number
Returns ​
boolean
Implementation of ​
AbstractEditor.hasPointerCapture
Inherited from ​
WithDisposable(ShadowlessElement).hasPointerCapture
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7761
hidePopover() ​
hidePopover():
void
Returns ​
void
Implementation of ​
AbstractEditor.hidePopover
Inherited from ​
WithDisposable(ShadowlessElement).hidePopover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10093
insertAdjacentElement() ​
insertAdjacentElement(
where
,element
):null
|Element
Parameters ​
• where: InsertPosition
• element: Element
Returns ​
null
| Element
Implementation of ​
AbstractEditor.insertAdjacentElement
Inherited from ​
WithDisposable(ShadowlessElement).insertAdjacentElement
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7763
insertAdjacentHTML() ​
insertAdjacentHTML(
position
,text
):void
Parameters ​
• position: InsertPosition
• text: string
Returns ​
void
Implementation of ​
AbstractEditor.insertAdjacentHTML
Inherited from ​
WithDisposable(ShadowlessElement).insertAdjacentHTML
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7765
insertAdjacentText() ​
insertAdjacentText(
where
,data
):void
Parameters ​
• where: InsertPosition
• data: string
Returns ​
void
Implementation of ​
AbstractEditor.insertAdjacentText
Inherited from ​
WithDisposable(ShadowlessElement).insertAdjacentText
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7767
insertBefore() ​
insertBefore<
T
>(node
,child
):T
Type parameters ​
• T extends Node
Parameters ​
• node: T
• child: null
| Node
Returns ​
T
Implementation of ​
AbstractEditor.insertBefore
Inherited from ​
WithDisposable(ShadowlessElement).insertBefore
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16178
isDefaultNamespace() ​
isDefaultNamespace(
namespace
):boolean
Parameters ​
• namespace: null
| string
Returns ​
boolean
Implementation of ​
AbstractEditor.isDefaultNamespace
Inherited from ​
WithDisposable(ShadowlessElement).isDefaultNamespace
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16180
isEqualNode() ​
isEqualNode(
otherNode
):boolean
Returns whether node and otherNode have the same properties.
Parameters ​
• otherNode: null
| Node
Returns ​
boolean
Implementation of ​
AbstractEditor.isEqualNode
Inherited from ​
WithDisposable(ShadowlessElement).isEqualNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16186
isSameNode() ​
isSameNode(
otherNode
):boolean
Parameters ​
• otherNode: null
| Node
Returns ​
boolean
Implementation of ​
AbstractEditor.isSameNode
Inherited from ​
WithDisposable(ShadowlessElement).isSameNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16188
lookupNamespaceURI() ​
lookupNamespaceURI(
prefix
):null
|string
Parameters ​
• prefix: null
| string
Returns ​
null
| string
Implementation of ​
AbstractEditor.lookupNamespaceURI
Inherited from ​
WithDisposable(ShadowlessElement).lookupNamespaceURI
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16190
lookupPrefix() ​
lookupPrefix(
namespace
):null
|string
Parameters ​
• namespace: null
| string
Returns ​
null
| string
Implementation of ​
AbstractEditor.lookupPrefix
Inherited from ​
WithDisposable(ShadowlessElement).lookupPrefix
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16192
matches() ​
matches(
selectors
):boolean
Returns true if matching selectors against element's root yields element, and false otherwise.
Parameters ​
• selectors: string
Returns ​
boolean
Implementation of ​
AbstractEditor.matches
Inherited from ​
WithDisposable(ShadowlessElement).matches
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7773
normalize() ​
normalize():
void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Returns ​
void
Implementation of ​
AbstractEditor.normalize
Inherited from ​
WithDisposable(ShadowlessElement).normalize
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16198
prepend() ​
prepend(...
nodes
):void
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
Implementation of ​
AbstractEditor.prepend
Inherited from ​
WithDisposable(ShadowlessElement).prepend
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16797
querySelector() ​
querySelector(selectors) ​
querySelector<
K
>(selectors
):null
|HTMLElementTagNameMap
[K
]
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
]
Implementation of ​
AbstractEditor.querySelector
Inherited from ​
WithDisposable(ShadowlessElement).querySelector
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16803
querySelector(selectors) ​
querySelector<
K
>(selectors
):null
|SVGElementTagNameMap
[K
]
Type parameters ​
• K extends keyof SVGElementTagNameMap
Parameters ​
• selectors: K
Returns ​
null
| SVGElementTagNameMap
[K
]
Implementation of ​
AbstractEditor.querySelector
Inherited from ​
WithDisposable(ShadowlessElement).querySelector
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16804
querySelector(selectors) ​
querySelector<
K
>(selectors
):null
|MathMLElementTagNameMap
[K
]
Type parameters ​
• K extends keyof MathMLElementTagNameMap
Parameters ​
• selectors: K
Returns ​
null
| MathMLElementTagNameMap
[K
]
Implementation of ​
AbstractEditor.querySelector
Inherited from ​
WithDisposable(ShadowlessElement).querySelector
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16805
querySelector(selectors) ​
querySelector<
K
>(selectors
):null
|HTMLElementDeprecatedTagNameMap
[K
]
Type parameters ​
• K extends keyof HTMLElementDeprecatedTagNameMap
Parameters ​
• selectors: K
Returns ​
null
| HTMLElementDeprecatedTagNameMap
[K
]
Implementation of ​
AbstractEditor.querySelector
Inherited from ​
WithDisposable(ShadowlessElement).querySelector
Deprecated ​
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16807
querySelector(selectors) ​
querySelector<
E
>(selectors
):null
|E
Type parameters ​
• E extends Element
= Element
Parameters ​
• selectors: string
Returns ​
null
| E
Implementation of ​
AbstractEditor.querySelector
Inherited from ​
WithDisposable(ShadowlessElement).querySelector
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16808
querySelectorAll() ​
querySelectorAll(selectors) ​
querySelectorAll<
K
>(selectors
):NodeListOf
<HTMLElementTagNameMap
[K
]>
Returns all element descendants of node that match selectors.
Type parameters ​
• K extends keyof HTMLElementTagNameMap
Parameters ​
• selectors: K
Returns ​
NodeListOf
<HTMLElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.querySelectorAll
Inherited from ​
WithDisposable(ShadowlessElement).querySelectorAll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16814
querySelectorAll(selectors) ​
querySelectorAll<
K
>(selectors
):NodeListOf
<SVGElementTagNameMap
[K
]>
Type parameters ​
• K extends keyof SVGElementTagNameMap
Parameters ​
• selectors: K
Returns ​
NodeListOf
<SVGElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.querySelectorAll
Inherited from ​
WithDisposable(ShadowlessElement).querySelectorAll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16815
querySelectorAll(selectors) ​
querySelectorAll<
K
>(selectors
):NodeListOf
<MathMLElementTagNameMap
[K
]>
Type parameters ​
• K extends keyof MathMLElementTagNameMap
Parameters ​
• selectors: K
Returns ​
NodeListOf
<MathMLElementTagNameMap
[K
]>
Implementation of ​
AbstractEditor.querySelectorAll
Inherited from ​
WithDisposable(ShadowlessElement).querySelectorAll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16816
querySelectorAll(selectors) ​
querySelectorAll<
K
>(selectors
):NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Type parameters ​
• K extends keyof HTMLElementDeprecatedTagNameMap
Parameters ​
• selectors: K
Returns ​
NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Implementation of ​
AbstractEditor.querySelectorAll
Inherited from ​
WithDisposable(ShadowlessElement).querySelectorAll
Deprecated ​
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16818
querySelectorAll(selectors) ​
querySelectorAll<
E
>(selectors
):NodeListOf
<E
>
Type parameters ​
• E extends Element
= Element
Parameters ​
• selectors: string
Returns ​
NodeListOf
<E
>
Implementation of ​
AbstractEditor.querySelectorAll
Inherited from ​
WithDisposable(ShadowlessElement).querySelectorAll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16819
releasePointerCapture() ​
releasePointerCapture(
pointerId
):void
Parameters ​
• pointerId: number
Returns ​
void
Implementation of ​
AbstractEditor.releasePointerCapture
Inherited from ​
WithDisposable(ShadowlessElement).releasePointerCapture
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7775
remove() ​
remove():
void
Removes node.
Returns ​
void
Implementation of ​
AbstractEditor.remove
Inherited from ​
WithDisposable(ShadowlessElement).remove
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:5613
removeAttribute() ​
removeAttribute(
qualifiedName
):void
Removes element's first attribute whose qualified name is qualifiedName.
Parameters ​
• qualifiedName: string
Returns ​
void
Implementation of ​
AbstractEditor.removeAttribute
Inherited from ​
WithDisposable(ShadowlessElement).removeAttribute
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7781
removeAttributeNS() ​
removeAttributeNS(
namespace
,localName
):void
Removes element's attribute whose namespace is namespace and local name is localName.
Parameters ​
• namespace: null
| string
• localName: string
Returns ​
void
Implementation of ​
AbstractEditor.removeAttributeNS
Inherited from ​
WithDisposable(ShadowlessElement).removeAttributeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7787
removeAttributeNode() ​
removeAttributeNode(
attr
):Attr
Parameters ​
• attr: Attr
Returns ​
Attr
Implementation of ​
AbstractEditor.removeAttributeNode
Inherited from ​
WithDisposable(ShadowlessElement).removeAttributeNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7789
removeChild() ​
removeChild<
T
>(child
):T
Type parameters ​
• T extends Node
Parameters ​
• child: T
Returns ​
T
Implementation of ​
AbstractEditor.removeChild
Inherited from ​
WithDisposable(ShadowlessElement).removeChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16200
removeEventListener() ​
removeEventListener(type, listener, options) ​
removeEventListener<
K
>(type
,listener
,options
?):void
Type parameters ​
• K extends keyof HTMLElementEventMap
Parameters ​
• type: K
• listener: (this
, ev
) => any
• options?: boolean
| EventListenerOptions
Returns ​
void
Implementation of ​
AbstractEditor.removeEventListener
Inherited from ​
WithDisposable(ShadowlessElement).removeEventListener
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10100
removeEventListener(type, listener, options) ​
removeEventListener(
type
,listener
,options
?):void
Parameters ​
• type: string
• listener: EventListenerOrEventListenerObject
• options?: boolean
| EventListenerOptions
Returns ​
void
Implementation of ​
AbstractEditor.removeEventListener
Inherited from ​
WithDisposable(ShadowlessElement).removeEventListener
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10101
render() ​
render():
TemplateResult
<1
> | typeofnothing
Returns ​
TemplateResult
<1
> | typeof nothing
Overrides ​
WithDisposable(ShadowlessElement).render
Source ​
packages/presets/src/editors/editor-container.ts:146
replaceChild() ​
replaceChild<
T
>(node
,child
):T
Type parameters ​
• T extends Node
Parameters ​
• node: Node
• child: T
Returns ​
T
Implementation of ​
AbstractEditor.replaceChild
Inherited from ​
WithDisposable(ShadowlessElement).replaceChild
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16202
replaceChildren() ​
replaceChildren(...
nodes
):void
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
Implementation of ​
AbstractEditor.replaceChildren
Inherited from ​
WithDisposable(ShadowlessElement).replaceChildren
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:16827
replaceWith() ​
replaceWith(...
nodes
):void
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
Implementation of ​
AbstractEditor.replaceWith
Inherited from ​
WithDisposable(ShadowlessElement).replaceWith
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:5621
requestFullscreen() ​
requestFullscreen(
options
?):Promise
<void
>
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
>
Implementation of ​
AbstractEditor.requestFullscreen
Inherited from ​
WithDisposable(ShadowlessElement).requestFullscreen
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7797
requestPointerLock() ​
requestPointerLock():
void
Returns ​
void
Implementation of ​
AbstractEditor.requestPointerLock
Inherited from ​
WithDisposable(ShadowlessElement).requestPointerLock
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7799
scroll() ​
scroll(options) ​
scroll(
options
?):void
Parameters ​
• options?: ScrollToOptions
Returns ​
void
Implementation of ​
AbstractEditor.scroll
Inherited from ​
WithDisposable(ShadowlessElement).scroll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7801
scroll(x, y) ​
scroll(
x
,y
):void
Parameters ​
• x: number
• y: number
Returns ​
void
Implementation of ​
AbstractEditor.scroll
Inherited from ​
WithDisposable(ShadowlessElement).scroll
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7802
scrollBy() ​
scrollBy(options) ​
scrollBy(
options
?):void
Parameters ​
• options?: ScrollToOptions
Returns ​
void
Implementation of ​
AbstractEditor.scrollBy
Inherited from ​
WithDisposable(ShadowlessElement).scrollBy
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7804
scrollBy(x, y) ​
scrollBy(
x
,y
):void
Parameters ​
• x: number
• y: number
Returns ​
void
Implementation of ​
AbstractEditor.scrollBy
Inherited from ​
WithDisposable(ShadowlessElement).scrollBy
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7805
scrollIntoView() ​
scrollIntoView(
arg
?):void
Parameters ​
• arg?: boolean
| ScrollIntoViewOptions
Returns ​
void
Implementation of ​
AbstractEditor.scrollIntoView
Inherited from ​
WithDisposable(ShadowlessElement).scrollIntoView
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7807
scrollTo() ​
scrollTo(options) ​
scrollTo(
options
?):void
Parameters ​
• options?: ScrollToOptions
Returns ​
void
Implementation of ​
AbstractEditor.scrollTo
Inherited from ​
WithDisposable(ShadowlessElement).scrollTo
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7809
scrollTo(x, y) ​
scrollTo(
x
,y
):void
Parameters ​
• x: number
• y: number
Returns ​
void
Implementation of ​
AbstractEditor.scrollTo
Inherited from ​
WithDisposable(ShadowlessElement).scrollTo
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7810
setAttribute() ​
setAttribute(
qualifiedName
,value
):void
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Parameters ​
• qualifiedName: string
• value: string
Returns ​
void
Implementation of ​
AbstractEditor.setAttribute
Inherited from ​
WithDisposable(ShadowlessElement).setAttribute
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7816
setAttributeNS() ​
setAttributeNS(
namespace
,qualifiedName
,value
):void
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
Implementation of ​
AbstractEditor.setAttributeNS
Inherited from ​
WithDisposable(ShadowlessElement).setAttributeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7822
setAttributeNode() ​
setAttributeNode(
attr
):null
|Attr
Parameters ​
• attr: Attr
Returns ​
null
| Attr
Implementation of ​
AbstractEditor.setAttributeNode
Inherited from ​
WithDisposable(ShadowlessElement).setAttributeNode
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7824
setAttributeNodeNS() ​
setAttributeNodeNS(
attr
):null
|Attr
Parameters ​
• attr: Attr
Returns ​
null
| Attr
Implementation of ​
AbstractEditor.setAttributeNodeNS
Inherited from ​
WithDisposable(ShadowlessElement).setAttributeNodeNS
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7826
setPointerCapture() ​
setPointerCapture(
pointerId
):void
Parameters ​
• pointerId: number
Returns ​
void
Implementation of ​
AbstractEditor.setPointerCapture
Inherited from ​
WithDisposable(ShadowlessElement).setPointerCapture
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7828
showPopover() ​
showPopover():
void
Returns ​
void
Implementation of ​
AbstractEditor.showPopover
Inherited from ​
WithDisposable(ShadowlessElement).showPopover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10095
toggleAttribute() ​
toggleAttribute(
qualifiedName
,force
?):boolean
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
Implementation of ​
AbstractEditor.toggleAttribute
Inherited from ​
WithDisposable(ShadowlessElement).toggleAttribute
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7836
togglePopover() ​
togglePopover(
force
?):void
Parameters ​
• force?: boolean
Returns ​
void
Implementation of ​
AbstractEditor.togglePopover
Inherited from ​
WithDisposable(ShadowlessElement).togglePopover
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:10097
updated() ​
updated(
changedProperties
):void
Parameters ​
• changedProperties: Map
<string
, unknown
>
Returns ​
void
Overrides ​
WithDisposable(ShadowlessElement).updated
Source ​
packages/presets/src/editors/editor-container.ts:131
webkitMatchesSelector() ​
webkitMatchesSelector(
selectors
):boolean
Parameters ​
• selectors: string
Returns ​
boolean
Implementation of ​
AbstractEditor.webkitMatchesSelector
Inherited from ​
WithDisposable(ShadowlessElement).webkitMatchesSelector
Deprecated ​
This is a legacy alias of matches
.
Source ​
node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/lib/lib.dom.d.ts:7842
addInitializer() ​
static
addInitializer(initializer
):void
Adds an initializer function to the class that is called during instance construction.
This is useful for code that runs against a ReactiveElement
subclass, such as a decorator, that needs to do work for each instance, such as setting up a ReactiveController
.
const myDecorator = (target: typeof ReactiveElement, key: string) => {
target.addInitializer((instance: ReactiveElement) => {
// This is run during construction of the element
new MyController(instance);
});
}
Decorating a field will then cause each instance to run an initializer that adds a controller:
class MyElement extends LitElement {
@myDecorator foo;
}
Initializers are stored per-constructor. Adding an initializer to a subclass does not add it to a superclass. Since initializers are run in constructors, initializers will run in order of the class hierarchy, starting with superclasses and progressing to the instance's class.
Parameters ​
• initializer: Initializer
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).addInitializer
Nocollapse ​
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:257
finalize() ​
protected
static
finalize():void
Finishes setting up the class so that it's ready to be registered as a custom element and instantiated.
This method is called by the ReactiveElement.observedAttributes getter. If you override the observedAttributes getter, you must either call super.observedAttributes to trigger finalization, or call finalize() yourself.
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).finalize
Nocollapse ​
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:441
finalizeStyles() ​
protected
static
finalizeStyles(styles
?):CSSResultOrNative
[]
Parameters ​
• styles?: CSSResultGroup
Returns ​
CSSResultOrNative
[]
Inherited from ​
WithDisposable(ShadowlessElement).finalizeStyles
Source ​
packages/lit/dist/element/shadowless-element.d.ts:5
attributes ​
observedAttributes ​
get
static
observedAttributes():string
[]
Returns a list of attributes corresponding to the registered properties.
Nocollapse ​
Returns ​
string
[]
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:346
attributeChangedCallback() ​
attributeChangedCallback(
name
,_old
,value
):void
Synchronizes property values when attributes change.
Specifically, when an attribute is set, the corresponding property is set. You should rarely need to implement this callback. If this method is overridden, super.attributeChangedCallback(name, _old, value)
must be called.
See using the lifecycle callbacks on MDN for more information about the attributeChangedCallback
.
Parameters ​
• name: string
• _old: null
| string
• value: null
| string
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).attributeChangedCallback
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:580
controllers ​
addController() ​
addController(
controller
):void
Registers a ReactiveController
to participate in the element's reactive update cycle. The element automatically calls into any registered controllers during its lifecycle callbacks.
If the element is connected when addController()
is called, the controller's hostConnected()
callback will be immediately called.
Parameters ​
• controller: ReactiveController
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).addController
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:519
removeController() ​
removeController(
controller
):void
Removes a ReactiveController
from the element.
Parameters ​
• controller: ReactiveController
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).removeController
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:524
dev-mode ​
disableWarning? ​
static
disableWarning?: (warningKind
) =>void
Disable the given warning category for this class.
This method only exists in development builds, so it should be accessed with a guard like:
// Disable for all ReactiveElement subclasses
ReactiveElement.disableWarning?.('migration');
// Disable for only MyElement and subclasses
MyElement.disableWarning?.('migration');
Parameters ​
• warningKind: WarningKind
Returns ​
void
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).disableWarning
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:223
enableWarning? ​
static
enableWarning?: (warningKind
) =>void
Enable the given warning category for this class.
This method only exists in development builds, so it should be accessed with a guard like:
// Enable for all ReactiveElement subclasses
ReactiveElement.enableWarning?.('migration');
// Enable for only MyElement and subclasses
MyElement.enableWarning?.('migration');
Parameters ​
• warningKind: WarningKind
Returns ​
void
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).enableWarning
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:205
enabledWarnings? ​
static
enabledWarnings?:WarningKind
[]
Read or set all the enabled warning categories for this class.
This property is only used in development builds.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).enabledWarnings
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:187
properties ​
elementProperties ​
static
elementProperties:PropertyDeclarationMap
Memoized list of all element properties, including any superclass properties. Created lazily on user subclasses when finalizing the class.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).elementProperties
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:280
properties ​
static
properties:PropertyDeclarations
User-supplied object that maps property names to PropertyDeclaration
objects containing options for configuring reactive properties. When a reactive property is set the element will update and render.
By default properties are public fields, and as such, they should be considered as primarily settable by element users, either via attribute or the property itself.
Generally, properties that are changed by the element should be private or protected fields and should use the state: true
option. Properties marked as state
do not reflect from the corresponding attribute
However, sometimes element code does need to set a public property. This should typically only be done in response to user interaction, and an event should be fired informing the user; for example, a checkbox sets its checked
property when clicked and fires a changed
event. Mutating public properties should typically not be done for non-primitive (object or array) properties. In other cases when an element needs to manage state, a private property set with the state: true
option should be used. When needed, state properties can be initialized via public properties to facilitate complex interactions.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).properties
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:306
createProperty() ​
static
createProperty(name
,options
?):void
Creates a property accessor on the element prototype if one does not exist and stores a [PropertyDeclaration
]([object Object]) for the property with the given options. The property setter calls the property's hasChanged
property option or uses a strict identity check to determine whether or not to request an update.
This method may be overridden to customize properties; however, when doing so, it's important to call super.createProperty
to ensure the property is setup correctly. This method calls getPropertyDescriptor
internally to get a descriptor to install. To customize what properties do when they are get or set, override getPropertyDescriptor
. To customize the options for a property, implement createProperty
like this:
static createProperty(name, options) {
options = Object.assign(options, {myOption: true});
super.createProperty(name, options);
}
Parameters ​
• name: PropertyKey
• options?: PropertyDeclaration
<unknown
, unknown
>
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).createProperty
Nocollapse ​
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:373
getPropertyDescriptor() ​
protected
static
getPropertyDescriptor(name
,key
,options
):undefined
|PropertyDescriptor
Returns a property descriptor to be defined on the given named property. If no descriptor is returned, the property will not become an accessor. For example,
class MyElement extends LitElement {
static getPropertyDescriptor(name, key, options) {
const defaultDescriptor =
super.getPropertyDescriptor(name, key, options);
const setter = defaultDescriptor.set;
return {
get: defaultDescriptor.get,
set(value) {
setter.call(this, value);
// custom action.
},
configurable: true,
enumerable: true
}
}
}
Parameters ​
• name: PropertyKey
• key: string
| symbol
• options: PropertyDeclaration
<unknown
, unknown
>
Returns ​
undefined
| PropertyDescriptor
Inherited from ​
WithDisposable(ShadowlessElement).getPropertyDescriptor
Nocollapse ​
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:401
getPropertyOptions() ​
static
getPropertyOptions(name
):PropertyDeclaration
<unknown
,unknown
>
Returns the property options associated with the given property. These options are defined with a PropertyDeclaration
via the properties
object or the @property
decorator and are registered in createProperty(...)
.
Note, this method should be considered "final" and not overridden. To customize the options for a given property, override createProperty
.
Parameters ​
• name: PropertyKey
Returns ​
PropertyDeclaration
<unknown
, unknown
>
Inherited from ​
WithDisposable(ShadowlessElement).getPropertyOptions
Nocollapse ​
Final ​
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:416
rendering ​
renderOptions ​
readonly
renderOptions:RenderOptions
Inherited from ​
WithDisposable(ShadowlessElement).renderOptions
Source ​
node_modules/.pnpm/lit-element@4.0.2/node_modules/lit-element/development/lit-element.d.ts:88
renderRoot ​
readonly
renderRoot:HTMLElement
|DocumentFragment
Node or ShadowRoot into which element DOM should be rendered. Defaults to an open shadowRoot.
Inherited from ​
WithDisposable(ShadowlessElement).renderRoot
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:473
shadowRootOptions ​
static
shadowRootOptions:ShadowRootInit
Options used when calling attachShadow
. Set this property to customize the options for the shadowRoot; for example, to create a closed shadowRoot: {mode: 'closed'}
.
Note, these options are used in createRenderRoot
. If this method is customized, options should be respected if possible.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).shadowRootOptions
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:452
styles ​
elementStyles ​
static
elementStyles:CSSResultOrNative
[]
Memoized list of all element styles. Created lazily on user subclasses when finalizing the class.
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).elementStyles
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:313
styles? ​
static
styles?:CSSResultGroup
Array of styles to apply to the element. The styles should be defined using the css tag function, via constructible stylesheets, or imported from native CSS module scripts.
Note on Content Security Policy:
Element styles are implemented with <style>
tags when the browser doesn't support adopted StyleSheets. To use such <style>
tags with the style-src CSP directive, the style-src value must either include 'unsafe-inline' or nonce-<base64-value>
with <base64-value>
replaced be a server-generated nonce.
To provide a nonce to use on generated <style>
elements, set window.litNonce
to a server-generated nonce in your page's HTML, before loading application code:
<script>
// Generated and unique per request:
window.litNonce = 'a1b2c3d4';
</script>
Nocollapse ​
Inherited from ​
WithDisposable(ShadowlessElement).styles
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:340
updates ​
hasUpdated ​
hasUpdated:
boolean
Is set to true
after the first update. The element code cannot assume that renderRoot
exists before the element hasUpdated
.
Inherited from ​
WithDisposable(ShadowlessElement).hasUpdated
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:491
isUpdatePending ​
isUpdatePending:
boolean
True if there is a pending update as a result of calling requestUpdate()
. Should only be read.
Inherited from ​
WithDisposable(ShadowlessElement).isUpdatePending
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:485
updateComplete ​
get
updateComplete():Promise
<boolean
>
Returns a Promise that resolves when the element has completed updating. The Promise value is a boolean that is true
if the element completed the update without triggering another update. The Promise result is false
if a property was set inside updated()
. If the Promise is rejected, an exception was thrown during the update.
To await additional asynchronous work, override the getUpdateComplete
method. For example, it is sometimes useful to await a rendered element before fulfilling this Promise. To do this, first await super.getUpdateComplete()
, then any subsequent state.
Returns ​
Promise
<boolean
>
A promise of a boolean that resolves to true if the update completed without triggering another update.
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:671
enableUpdating() ​
protected
enableUpdating(_requestedUpdate
):void
Note, this method should be considered final and not overridden. It is overridden on the element instance with a function that triggers the first update.
Parameters ​
• _requestedUpdate: boolean
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).enableUpdating
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:560
performUpdate() ​
protected
performUpdate():void
Performs an element update. Note, if an exception is thrown during the update, firstUpdated
and updated
will not be called.
Call performUpdate()
to immediately process a pending update. This should generally not be needed, but it can be done in rare cases when you need to update synchronously.
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).performUpdate
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:631
requestUpdate() ​
requestUpdate(
name
?,oldValue
?,options
?):void
Requests an update which is processed asynchronously. This should be called when an element should update based on some state not triggered by setting a reactive property. In this case, pass no arguments. It should also be called when manually implementing a property setter. In this case, pass the property name
and oldValue
to ensure that any configured property options are honored.
Parameters ​
• name?: PropertyKey
name of requesting property
• oldValue?: unknown
old value of requesting property
• options?: PropertyDeclaration
<unknown
, unknown
>
property options to use instead of the previously configured options
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).requestUpdate
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:598
scheduleUpdate() ​
protected
scheduleUpdate():void
|Promise
<unknown
>
Schedules an element update. You can override this method to change the timing of updates by returning a Promise. The update will await the returned Promise, and you should resolve the Promise to allow the update to proceed. If this method is overridden, super.scheduleUpdate()
must be called.
For instance, to schedule updates to occur just before the next frame:
override protected async scheduleUpdate(): Promise<unknown> {
await new Promise((resolve) => requestAnimationFrame(() => resolve()));
super.scheduleUpdate();
}
Returns ​
void
| Promise
<unknown
>
Inherited from ​
WithDisposable(ShadowlessElement).scheduleUpdate
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:620
shouldUpdate() ​
protected
shouldUpdate(_changedProperties
):boolean
Controls whether or not update()
should be called when the element requests an update. By default, this method always returns true
, but this can be customized to control when to update.
Parameters ​
• _changedProperties: PropertyValueMap
<any
> | Map
<PropertyKey
, unknown
>
Map of changed properties with old values
Returns ​
boolean
Inherited from ​
WithDisposable(ShadowlessElement).shouldUpdate
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:704
update() ​
protected
update(changedProperties
):void
Updates the element. This method reflects property values to attributes and calls render
to render DOM via lit-html. Setting properties inside this method will not trigger another update.
Parameters ​
• changedProperties: PropertyValueMap
<any
> | Map
<PropertyKey
, unknown
>
Map of changed properties with old values
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).update
Source ​
node_modules/.pnpm/lit-element@4.0.2/node_modules/lit-element/development/lit-element.d.ts:101
willUpdate() ​
protected
willUpdate(_changedProperties
):void
Invoked before update()
to compute values needed during the update.
Implement willUpdate
to compute property values that depend on other properties and are used in the rest of the update process.
willUpdate(changedProperties) {
// only need to check changed properties for an expensive computation.
if (changedProperties.has('firstName') || changedProperties.has('lastName')) {
this.sha = computeSHA(`${this.firstName} ${this.lastName}`);
}
}
render() {
return html`SHA: ${this.sha}`;
}
Parameters ​
• _changedProperties: PropertyValueMap
<any
> | Map
<PropertyKey
, unknown
>
Returns ​
void
Inherited from ​
WithDisposable(ShadowlessElement).willUpdate
Source ​
node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:653
Generated using typedoc-plugin-markdown and TypeDoc