Skip to content

API > @blocksuite/presets > EditorContainer

Class: EditorContainer ​

Extends ​

Implements ​

  • AbstractEditor

Other ​

constructor ​

new EditorContainer(): EditorContainer

Returns ​

EditorContainer

Inherited from ​

WithDisposable(ShadowlessElement).constructor

Defined In ​

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

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16203

Implementation of ​

AbstractEditor.ATTRIBUTE_NODE

Inherited from ​

WithDisposable(ShadowlessElement).ATTRIBUTE_NODE


CDATA_SECTION_NODE ​

readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16207

Implementation of ​

AbstractEditor.CDATA_SECTION_NODE

Inherited from ​

WithDisposable(ShadowlessElement).CDATA_SECTION_NODE


COMMENT_NODE ​

readonly COMMENT_NODE: 8

node is a Comment node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16213

Implementation of ​

AbstractEditor.COMMENT_NODE

Inherited from ​

WithDisposable(ShadowlessElement).COMMENT_NODE


DOCUMENT_FRAGMENT_NODE ​

readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16219

Implementation of ​

AbstractEditor.DOCUMENT_FRAGMENT_NODE

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_FRAGMENT_NODE


DOCUMENT_NODE ​

readonly DOCUMENT_NODE: 9

node is a document.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16215

Implementation of ​

AbstractEditor.DOCUMENT_NODE

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_NODE


DOCUMENT_POSITION_CONTAINED_BY ​

readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16230

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_CONTAINED_BY

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_CONTAINED_BY


DOCUMENT_POSITION_CONTAINS ​

readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16228

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_CONTAINS

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_CONTAINS


DOCUMENT_POSITION_DISCONNECTED ​

readonly DOCUMENT_POSITION_DISCONNECTED: 1

Set when node and other are not in the same tree.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16222

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_DISCONNECTED

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_DISCONNECTED


DOCUMENT_POSITION_FOLLOWING ​

readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16226

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_FOLLOWING

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_FOLLOWING


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ​

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16231

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC


DOCUMENT_POSITION_PRECEDING ​

readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16224

Implementation of ​

AbstractEditor.DOCUMENT_POSITION_PRECEDING

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_POSITION_PRECEDING


DOCUMENT_TYPE_NODE ​

readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16217

Implementation of ​

AbstractEditor.DOCUMENT_TYPE_NODE

Inherited from ​

WithDisposable(ShadowlessElement).DOCUMENT_TYPE_NODE


ELEMENT_NODE ​

readonly ELEMENT_NODE: 1

node is an element.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16202

Implementation of ​

AbstractEditor.ELEMENT_NODE

Inherited from ​

WithDisposable(ShadowlessElement).ELEMENT_NODE


ENTITY_NODE ​

readonly ENTITY_NODE: 6

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16209

Implementation of ​

AbstractEditor.ENTITY_NODE

Inherited from ​

WithDisposable(ShadowlessElement).ENTITY_NODE


ENTITY_REFERENCE_NODE ​

readonly ENTITY_REFERENCE_NODE: 5

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16208

Implementation of ​

AbstractEditor.ENTITY_REFERENCE_NODE

Inherited from ​

WithDisposable(ShadowlessElement).ENTITY_REFERENCE_NODE


NOTATION_NODE ​

readonly NOTATION_NODE: 12

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16220

Implementation of ​

AbstractEditor.NOTATION_NODE

Inherited from ​

WithDisposable(ShadowlessElement).NOTATION_NODE


PROCESSING_INSTRUCTION_NODE ​

readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16211

Implementation of ​

AbstractEditor.PROCESSING_INSTRUCTION_NODE

Inherited from ​

WithDisposable(ShadowlessElement).PROCESSING_INSTRUCTION_NODE


TEXT_NODE ​

readonly TEXT_NODE: 3

node is a Text node.

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16205

Implementation of ​

AbstractEditor.TEXT_NODE

Inherited from ​

WithDisposable(ShadowlessElement).TEXT_NODE


_defaultPageBlock ​

private optional _defaultPageBlock: DocPageBlockComponent

Deprecated ​

This property is unreliable since pagePreset can be overridden.

Defined In ​

packages/presets/src/components/editor-container.ts:68


_disposables ​

protected _disposables: DisposableGroup

Defined In ​

packages/lit/dist/with-disposable.d.ts:5

Inherited from ​

WithDisposable(ShadowlessElement)._disposables


_edgelessPageBlock ​

private optional _edgelessPageBlock: EdgelessPageBlockComponent

Deprecated ​

This property is unreliable since edgelessPreset can be overridden.

Defined In ​

packages/presets/src/components/editor-container.ts:74


accessKey ​

accessKey: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10051

Implementation of ​

AbstractEditor.accessKey

Inherited from ​

WithDisposable(ShadowlessElement).accessKey


accessKeyLabel ​

readonly accessKeyLabel: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10053

Implementation of ​

AbstractEditor.accessKeyLabel

Inherited from ​

WithDisposable(ShadowlessElement).accessKeyLabel


ariaAtomic ​

ariaAtomic: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2207

Implementation of ​

AbstractEditor.ariaAtomic

Inherited from ​

WithDisposable(ShadowlessElement).ariaAtomic


ariaAutoComplete ​

ariaAutoComplete: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2209

Implementation of ​

AbstractEditor.ariaAutoComplete

Inherited from ​

WithDisposable(ShadowlessElement).ariaAutoComplete


ariaBusy ​

ariaBusy: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2211

Implementation of ​

AbstractEditor.ariaBusy

Inherited from ​

WithDisposable(ShadowlessElement).ariaBusy


ariaChecked ​

ariaChecked: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2213

Implementation of ​

AbstractEditor.ariaChecked

Inherited from ​

WithDisposable(ShadowlessElement).ariaChecked


ariaColCount ​

ariaColCount: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2215

Implementation of ​

AbstractEditor.ariaColCount

Inherited from ​

WithDisposable(ShadowlessElement).ariaColCount


ariaColIndex ​

ariaColIndex: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2217

Implementation of ​

AbstractEditor.ariaColIndex

Inherited from ​

WithDisposable(ShadowlessElement).ariaColIndex


ariaColSpan ​

ariaColSpan: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2219

Implementation of ​

AbstractEditor.ariaColSpan

Inherited from ​

WithDisposable(ShadowlessElement).ariaColSpan


ariaCurrent ​

ariaCurrent: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2221

Implementation of ​

AbstractEditor.ariaCurrent

Inherited from ​

WithDisposable(ShadowlessElement).ariaCurrent


ariaDisabled ​

ariaDisabled: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2223

Implementation of ​

AbstractEditor.ariaDisabled

Inherited from ​

WithDisposable(ShadowlessElement).ariaDisabled


ariaExpanded ​

ariaExpanded: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2225

Implementation of ​

AbstractEditor.ariaExpanded

Inherited from ​

WithDisposable(ShadowlessElement).ariaExpanded


ariaHasPopup ​

ariaHasPopup: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2227

Implementation of ​

AbstractEditor.ariaHasPopup

Inherited from ​

WithDisposable(ShadowlessElement).ariaHasPopup


ariaHidden ​

ariaHidden: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2229

Implementation of ​

AbstractEditor.ariaHidden

Inherited from ​

WithDisposable(ShadowlessElement).ariaHidden


ariaInvalid ​

ariaInvalid: null | string

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2230

Implementation of ​

AbstractEditor.ariaInvalid

Inherited from ​

WithDisposable(ShadowlessElement).ariaInvalid


ariaKeyShortcuts ​

ariaKeyShortcuts: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2232

Implementation of ​

AbstractEditor.ariaKeyShortcuts

Inherited from ​

WithDisposable(ShadowlessElement).ariaKeyShortcuts


ariaLabel ​

ariaLabel: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2234

Implementation of ​

AbstractEditor.ariaLabel

Inherited from ​

WithDisposable(ShadowlessElement).ariaLabel


ariaLevel ​

ariaLevel: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2236

Implementation of ​

AbstractEditor.ariaLevel

Inherited from ​

WithDisposable(ShadowlessElement).ariaLevel


ariaLive ​

ariaLive: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2238

Implementation of ​

AbstractEditor.ariaLive

Inherited from ​

WithDisposable(ShadowlessElement).ariaLive


ariaModal ​

ariaModal: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2240

Implementation of ​

AbstractEditor.ariaModal

Inherited from ​

WithDisposable(ShadowlessElement).ariaModal


ariaMultiLine ​

ariaMultiLine: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2242

Implementation of ​

AbstractEditor.ariaMultiLine

Inherited from ​

WithDisposable(ShadowlessElement).ariaMultiLine


ariaMultiSelectable ​

ariaMultiSelectable: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2244

Implementation of ​

AbstractEditor.ariaMultiSelectable

Inherited from ​

WithDisposable(ShadowlessElement).ariaMultiSelectable


ariaOrientation ​

ariaOrientation: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2246

Implementation of ​

AbstractEditor.ariaOrientation

Inherited from ​

WithDisposable(ShadowlessElement).ariaOrientation


ariaPlaceholder ​

ariaPlaceholder: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2248

Implementation of ​

AbstractEditor.ariaPlaceholder

Inherited from ​

WithDisposable(ShadowlessElement).ariaPlaceholder


ariaPosInSet ​

ariaPosInSet: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2250

Implementation of ​

AbstractEditor.ariaPosInSet

Inherited from ​

WithDisposable(ShadowlessElement).ariaPosInSet


ariaPressed ​

ariaPressed: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2252

Implementation of ​

AbstractEditor.ariaPressed

Inherited from ​

WithDisposable(ShadowlessElement).ariaPressed


ariaReadOnly ​

ariaReadOnly: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2254

Implementation of ​

AbstractEditor.ariaReadOnly

Inherited from ​

WithDisposable(ShadowlessElement).ariaReadOnly


ariaRequired ​

ariaRequired: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2256

Implementation of ​

AbstractEditor.ariaRequired

Inherited from ​

WithDisposable(ShadowlessElement).ariaRequired


ariaRoleDescription ​

ariaRoleDescription: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2258

Implementation of ​

AbstractEditor.ariaRoleDescription

Inherited from ​

WithDisposable(ShadowlessElement).ariaRoleDescription


ariaRowCount ​

ariaRowCount: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2260

Implementation of ​

AbstractEditor.ariaRowCount

Inherited from ​

WithDisposable(ShadowlessElement).ariaRowCount


ariaRowIndex ​

ariaRowIndex: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2262

Implementation of ​

AbstractEditor.ariaRowIndex

Inherited from ​

WithDisposable(ShadowlessElement).ariaRowIndex


ariaRowSpan ​

ariaRowSpan: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2264

Implementation of ​

AbstractEditor.ariaRowSpan

Inherited from ​

WithDisposable(ShadowlessElement).ariaRowSpan


ariaSelected ​

ariaSelected: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2266

Implementation of ​

AbstractEditor.ariaSelected

Inherited from ​

WithDisposable(ShadowlessElement).ariaSelected


ariaSetSize ​

ariaSetSize: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2268

Implementation of ​

AbstractEditor.ariaSetSize

Inherited from ​

WithDisposable(ShadowlessElement).ariaSetSize


ariaSort ​

ariaSort: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2270

Implementation of ​

AbstractEditor.ariaSort

Inherited from ​

WithDisposable(ShadowlessElement).ariaSort


ariaValueMax ​

ariaValueMax: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2272

Implementation of ​

AbstractEditor.ariaValueMax

Inherited from ​

WithDisposable(ShadowlessElement).ariaValueMax


ariaValueMin ​

ariaValueMin: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2274

Implementation of ​

AbstractEditor.ariaValueMin

Inherited from ​

WithDisposable(ShadowlessElement).ariaValueMin


ariaValueNow ​

ariaValueNow: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2276

Implementation of ​

AbstractEditor.ariaValueNow

Inherited from ​

WithDisposable(ShadowlessElement).ariaValueNow


ariaValueText ​

ariaValueText: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2278

Implementation of ​

AbstractEditor.ariaValueText

Inherited from ​

WithDisposable(ShadowlessElement).ariaValueText


assignedSlot ​

readonly assignedSlot: null | HTMLSlotElement

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:21294

Implementation of ​

AbstractEditor.assignedSlot

Inherited from ​

WithDisposable(ShadowlessElement).assignedSlot


attributeStyleMap ​

readonly attributeStyleMap: StylePropertyMap

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7853

Implementation of ​

AbstractEditor.attributeStyleMap

Inherited from ​

WithDisposable(ShadowlessElement).attributeStyleMap


attributes ​

readonly attributes: NamedNodeMap

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7598

Implementation of ​

AbstractEditor.attributes

Inherited from ​

WithDisposable(ShadowlessElement).attributes


autocapitalize ​

autocapitalize: string

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10054

Implementation of ​

AbstractEditor.autocapitalize

Inherited from ​

WithDisposable(ShadowlessElement).autocapitalize


autofocus ​

autofocus: boolean = false

Defined In ​

packages/presets/src/components/editor-container.ts:62

Implementation of ​

AbstractEditor.autofocus

Overrides ​

WithDisposable(ShadowlessElement).autofocus


baseURI ​

readonly baseURI: string

Returns node's node document's document base URL.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16072

Implementation of ​

AbstractEditor.baseURI

Inherited from ​

WithDisposable(ShadowlessElement).baseURI


childElementCount ​

readonly childElementCount: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16761

Implementation of ​

AbstractEditor.childElementCount

Inherited from ​

WithDisposable(ShadowlessElement).childElementCount


childNodes ​

readonly childNodes: NodeListOf< ChildNode >

Returns the children.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16078

Implementation of ​

AbstractEditor.childNodes

Inherited from ​

WithDisposable(ShadowlessElement).childNodes


children ​

readonly children: HTMLCollection

Returns the child elements.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16767

Implementation of ​

AbstractEditor.children

Inherited from ​

WithDisposable(ShadowlessElement).children


classList ​

readonly classList: DOMTokenList

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7604

Implementation of ​

AbstractEditor.classList

Inherited from ​

WithDisposable(ShadowlessElement).classList


className ​

className: string

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7610

Implementation of ​

AbstractEditor.className

Inherited from ​

WithDisposable(ShadowlessElement).className


clientHeight ​

readonly clientHeight: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7612

Implementation of ​

AbstractEditor.clientHeight

Inherited from ​

WithDisposable(ShadowlessElement).clientHeight


clientLeft ​

readonly clientLeft: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7614

Implementation of ​

AbstractEditor.clientLeft

Inherited from ​

WithDisposable(ShadowlessElement).clientLeft


clientTop ​

readonly clientTop: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7616

Implementation of ​

AbstractEditor.clientTop

Inherited from ​

WithDisposable(ShadowlessElement).clientTop


clientWidth ​

readonly clientWidth: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7618

Implementation of ​

AbstractEditor.clientWidth

Inherited from ​

WithDisposable(ShadowlessElement).clientWidth


contentEditable ​

contentEditable: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7860

Implementation of ​

AbstractEditor.contentEditable

Inherited from ​

WithDisposable(ShadowlessElement).contentEditable


dataset ​

readonly dataset: DOMStringMap

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:12045

Implementation of ​

AbstractEditor.dataset

Inherited from ​

WithDisposable(ShadowlessElement).dataset


dir ​

dir: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10056

Implementation of ​

AbstractEditor.dir

Inherited from ​

WithDisposable(ShadowlessElement).dir


disposables ​

readonly disposables: DisposableGroup

Defined In ​

packages/lit/dist/with-disposable.d.ts:4

Inherited from ​

WithDisposable(ShadowlessElement).disposables


draggable ​

draggable: boolean

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10058

Implementation of ​

AbstractEditor.draggable

Inherited from ​

WithDisposable(ShadowlessElement).draggable


edgelessPreset ​

edgelessPreset: BlockSpec< string >[] = EdgelessPreset

Defined In ​

packages/presets/src/components/editor-container.ts:59


enterKeyHint ​

enterKeyHint: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7862

Implementation of ​

AbstractEditor.enterKeyHint

Inherited from ​

WithDisposable(ShadowlessElement).enterKeyHint


firstChild ​

readonly firstChild: null | ChildNode

Returns the first child.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16084

Implementation of ​

AbstractEditor.firstChild

Inherited from ​

WithDisposable(ShadowlessElement).firstChild


firstElementChild ​

readonly firstElementChild: null | Element

Returns the first child that is an element, and null otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16773

Implementation of ​

AbstractEditor.firstElementChild

Inherited from ​

WithDisposable(ShadowlessElement).firstElementChild


hidden ​

hidden: boolean

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10060

Implementation of ​

AbstractEditor.hidden

Inherited from ​

WithDisposable(ShadowlessElement).hidden


id ​

id: string

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7624

Implementation of ​

AbstractEditor.id

Inherited from ​

WithDisposable(ShadowlessElement).id


inert ​

inert: boolean

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10062

Implementation of ​

AbstractEditor.inert

Inherited from ​

WithDisposable(ShadowlessElement).inert


innerHTML ​

innerHTML: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:14277

Implementation of ​

AbstractEditor.innerHTML

Inherited from ​

WithDisposable(ShadowlessElement).innerHTML


innerText ​

innerText: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10064

Implementation of ​

AbstractEditor.innerText

Inherited from ​

WithDisposable(ShadowlessElement).innerText


inputMode ​

inputMode: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7864

Implementation of ​

AbstractEditor.inputMode

Inherited from ​

WithDisposable(ShadowlessElement).inputMode


isConnected ​

readonly isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16090

Implementation of ​

AbstractEditor.isConnected

Inherited from ​

WithDisposable(ShadowlessElement).isConnected


isContentEditable ​

readonly isContentEditable: boolean

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7866

Implementation of ​

AbstractEditor.isContentEditable

Inherited from ​

WithDisposable(ShadowlessElement).isContentEditable


lang ​

lang: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10066

Implementation of ​

AbstractEditor.lang

Inherited from ​

WithDisposable(ShadowlessElement).lang


lastChild ​

readonly lastChild: null | ChildNode

Returns the last child.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16096

Implementation of ​

AbstractEditor.lastChild

Inherited from ​

WithDisposable(ShadowlessElement).lastChild


lastElementChild ​

readonly lastElementChild: null | Element

Returns the last child that is an element, and null otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16779

Implementation of ​

AbstractEditor.lastElementChild

Inherited from ​

WithDisposable(ShadowlessElement).lastElementChild


localName ​

readonly localName: string

Returns the local name.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7630

Implementation of ​

AbstractEditor.localName

Inherited from ​

WithDisposable(ShadowlessElement).localName


mode ​

mode: "page" | "edgeless" = 'page'

Defined In ​

packages/presets/src/components/editor-container.ts:53

Implementation of ​

AbstractEditor.mode


namespaceURI ​

readonly namespaceURI: null | string

Returns the namespace.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7636

Implementation of ​

AbstractEditor.namespaceURI

Inherited from ​

WithDisposable(ShadowlessElement).namespaceURI


nextElementSibling ​

readonly nextElementSibling: null | Element

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16352

Implementation of ​

AbstractEditor.nextElementSibling

Inherited from ​

WithDisposable(ShadowlessElement).nextElementSibling


nextSibling ​

readonly nextSibling: null | ChildNode

Returns the next sibling.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16102

Implementation of ​

AbstractEditor.nextSibling

Inherited from ​

WithDisposable(ShadowlessElement).nextSibling


nodeName ​

readonly nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16108

Implementation of ​

AbstractEditor.nodeName

Inherited from ​

WithDisposable(ShadowlessElement).nodeName


nodeType ​

readonly nodeType: number

Returns the type of node.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16114

Implementation of ​

AbstractEditor.nodeType

Inherited from ​

WithDisposable(ShadowlessElement).nodeType


nodeValue ​

nodeValue: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16116

Implementation of ​

AbstractEditor.nodeValue

Inherited from ​

WithDisposable(ShadowlessElement).nodeValue


nonce ​

optional nonce: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:12047

Implementation of ​

AbstractEditor.nonce

Inherited from ​

WithDisposable(ShadowlessElement).nonce


offsetHeight ​

readonly offsetHeight: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10068

Implementation of ​

AbstractEditor.offsetHeight

Inherited from ​

WithDisposable(ShadowlessElement).offsetHeight


offsetLeft ​

readonly offsetLeft: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10070

Implementation of ​

AbstractEditor.offsetLeft

Inherited from ​

WithDisposable(ShadowlessElement).offsetLeft


offsetParent ​

readonly offsetParent: null | Element

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10072

Implementation of ​

AbstractEditor.offsetParent

Inherited from ​

WithDisposable(ShadowlessElement).offsetParent


offsetTop ​

readonly offsetTop: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10074

Implementation of ​

AbstractEditor.offsetTop

Inherited from ​

WithDisposable(ShadowlessElement).offsetTop


offsetWidth ​

readonly offsetWidth: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10076

Implementation of ​

AbstractEditor.offsetWidth

Inherited from ​

WithDisposable(ShadowlessElement).offsetWidth


onabort ​

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

Fires when the user aborts the download.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8946

Implementation of ​

AbstractEditor.onabort

Inherited from ​

WithDisposable(ShadowlessElement).onabort


onanimationcancel ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8948

Implementation of ​

AbstractEditor.onanimationcancel

Inherited from ​

WithDisposable(ShadowlessElement).onanimationcancel


onanimationend ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8950

Implementation of ​

AbstractEditor.onanimationend

Inherited from ​

WithDisposable(ShadowlessElement).onanimationend


onanimationiteration ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8952

Implementation of ​

AbstractEditor.onanimationiteration

Inherited from ​

WithDisposable(ShadowlessElement).onanimationiteration


onanimationstart ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8954

Implementation of ​

AbstractEditor.onanimationstart

Inherited from ​

WithDisposable(ShadowlessElement).onanimationstart


onauxclick ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8956

Implementation of ​

AbstractEditor.onauxclick

Inherited from ​

WithDisposable(ShadowlessElement).onauxclick


onbeforeinput ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8958

Implementation of ​

AbstractEditor.onbeforeinput

Inherited from ​

WithDisposable(ShadowlessElement).onbeforeinput


onblur ​

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

Fires when the object loses the input focus.

Param ​

The focus event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8965

Implementation of ​

AbstractEditor.onblur

Inherited from ​

WithDisposable(ShadowlessElement).onblur


oncancel ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8967

Implementation of ​

AbstractEditor.oncancel

Inherited from ​

WithDisposable(ShadowlessElement).oncancel


oncanplay ​

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

Occurs when playback is possible, but would require further buffering.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8974

Implementation of ​

AbstractEditor.oncanplay

Inherited from ​

WithDisposable(ShadowlessElement).oncanplay


oncanplaythrough ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8976

Implementation of ​

AbstractEditor.oncanplaythrough

Inherited from ​

WithDisposable(ShadowlessElement).oncanplaythrough


onchange ​

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

Fires when the contents of the object or selection have changed.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8983

Implementation of ​

AbstractEditor.onchange

Inherited from ​

WithDisposable(ShadowlessElement).onchange


onclick ​

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

Fires when the user clicks the left mouse button on the object

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8990

Implementation of ​

AbstractEditor.onclick

Inherited from ​

WithDisposable(ShadowlessElement).onclick


onclose ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8992

Implementation of ​

AbstractEditor.onclose

Inherited from ​

WithDisposable(ShadowlessElement).onclose


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8999

Implementation of ​

AbstractEditor.oncontextmenu

Inherited from ​

WithDisposable(ShadowlessElement).oncontextmenu


oncopy ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9001

Implementation of ​

AbstractEditor.oncopy

Inherited from ​

WithDisposable(ShadowlessElement).oncopy


oncuechange ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9003

Implementation of ​

AbstractEditor.oncuechange

Inherited from ​

WithDisposable(ShadowlessElement).oncuechange


oncut ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9005

Implementation of ​

AbstractEditor.oncut

Inherited from ​

WithDisposable(ShadowlessElement).oncut


ondblclick ​

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

Fires when the user double-clicks the object.

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9012

Implementation of ​

AbstractEditor.ondblclick

Inherited from ​

WithDisposable(ShadowlessElement).ondblclick


ondrag ​

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

Fires on the source object continuously during a drag operation.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9019

Implementation of ​

AbstractEditor.ondrag

Inherited from ​

WithDisposable(ShadowlessElement).ondrag


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9026

Implementation of ​

AbstractEditor.ondragend

Inherited from ​

WithDisposable(ShadowlessElement).ondragend


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9033

Implementation of ​

AbstractEditor.ondragenter

Inherited from ​

WithDisposable(ShadowlessElement).ondragenter


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9040

Implementation of ​

AbstractEditor.ondragleave

Inherited from ​

WithDisposable(ShadowlessElement).ondragleave


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9047

Implementation of ​

AbstractEditor.ondragover

Inherited from ​

WithDisposable(ShadowlessElement).ondragover


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9054

Implementation of ​

AbstractEditor.ondragstart

Inherited from ​

WithDisposable(ShadowlessElement).ondragstart


ondrop ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9056

Implementation of ​

AbstractEditor.ondrop

Inherited from ​

WithDisposable(ShadowlessElement).ondrop


ondurationchange ​

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

Occurs when the duration attribute is updated.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9063

Implementation of ​

AbstractEditor.ondurationchange

Inherited from ​

WithDisposable(ShadowlessElement).ondurationchange


onemptied ​

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

Occurs when the media element is reset to its initial state.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9070

Implementation of ​

AbstractEditor.onemptied

Inherited from ​

WithDisposable(ShadowlessElement).onemptied


onended ​

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

Occurs when the end of playback is reached.

Param ​

The event

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9077

Implementation of ​

AbstractEditor.onended

Inherited from ​

WithDisposable(ShadowlessElement).onended


onerror ​

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9084

Implementation of ​

AbstractEditor.onerror

Inherited from ​

WithDisposable(ShadowlessElement).onerror


onfocus ​

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

Fires when the object receives focus.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9091

Implementation of ​

AbstractEditor.onfocus

Inherited from ​

WithDisposable(ShadowlessElement).onfocus


onformdata ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9093

Implementation of ​

AbstractEditor.onformdata

Inherited from ​

WithDisposable(ShadowlessElement).onformdata


onfullscreenchange ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7638

Implementation of ​

AbstractEditor.onfullscreenchange

Inherited from ​

WithDisposable(ShadowlessElement).onfullscreenchange


onfullscreenerror ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7640

Implementation of ​

AbstractEditor.onfullscreenerror

Inherited from ​

WithDisposable(ShadowlessElement).onfullscreenerror


ongotpointercapture ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9095

Implementation of ​

AbstractEditor.ongotpointercapture

Inherited from ​

WithDisposable(ShadowlessElement).ongotpointercapture


oninput ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9097

Implementation of ​

AbstractEditor.oninput

Inherited from ​

WithDisposable(ShadowlessElement).oninput


oninvalid ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9099

Implementation of ​

AbstractEditor.oninvalid

Inherited from ​

WithDisposable(ShadowlessElement).oninvalid


onkeydown ​

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

Fires when the user presses a key.

Param ​

The keyboard event

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9106

Implementation of ​

AbstractEditor.onkeydown

Inherited from ​

WithDisposable(ShadowlessElement).onkeydown


onkeypress ​

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

Fires when the user presses an alphanumeric key.

Param ​

The event.

Deprecated ​

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9114

Implementation of ​

AbstractEditor.onkeypress

Inherited from ​

WithDisposable(ShadowlessElement).onkeypress


onkeyup ​

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

Fires when the user releases a key.

Param ​

The keyboard event

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9121

Implementation of ​

AbstractEditor.onkeyup

Inherited from ​

WithDisposable(ShadowlessElement).onkeyup


onload ​

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

Fires immediately after the browser loads the object.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9128

Implementation of ​

AbstractEditor.onload

Inherited from ​

WithDisposable(ShadowlessElement).onload


onloadeddata ​

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

Occurs when media data is loaded at the current playback position.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9135

Implementation of ​

AbstractEditor.onloadeddata

Inherited from ​

WithDisposable(ShadowlessElement).onloadeddata


onloadedmetadata ​

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

Occurs when the duration and dimensions of the media have been determined.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9142

Implementation of ​

AbstractEditor.onloadedmetadata

Inherited from ​

WithDisposable(ShadowlessElement).onloadedmetadata


onloadstart ​

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

Occurs when Internet Explorer begins looking for media data.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9149

Implementation of ​

AbstractEditor.onloadstart

Inherited from ​

WithDisposable(ShadowlessElement).onloadstart


onlostpointercapture ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9151

Implementation of ​

AbstractEditor.onlostpointercapture

Inherited from ​

WithDisposable(ShadowlessElement).onlostpointercapture


onmousedown ​

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

Fires when the user clicks the object with either mouse button.

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9158

Implementation of ​

AbstractEditor.onmousedown

Inherited from ​

WithDisposable(ShadowlessElement).onmousedown


onmouseenter ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9160

Implementation of ​

AbstractEditor.onmouseenter

Inherited from ​

WithDisposable(ShadowlessElement).onmouseenter


onmouseleave ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9162

Implementation of ​

AbstractEditor.onmouseleave

Inherited from ​

WithDisposable(ShadowlessElement).onmouseleave


onmousemove ​

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

Fires when the user moves the mouse over the object.

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9169

Implementation of ​

AbstractEditor.onmousemove

Inherited from ​

WithDisposable(ShadowlessElement).onmousemove


onmouseout ​

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

Fires when the user moves the mouse pointer outside the boundaries of the object.

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9176

Implementation of ​

AbstractEditor.onmouseout

Inherited from ​

WithDisposable(ShadowlessElement).onmouseout


onmouseover ​

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

Fires when the user moves the mouse pointer into the object.

Param ​

The mouse event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9183

Implementation of ​

AbstractEditor.onmouseover

Inherited from ​

WithDisposable(ShadowlessElement).onmouseover


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.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9190

Implementation of ​

AbstractEditor.onmouseup

Inherited from ​

WithDisposable(ShadowlessElement).onmouseup


onpaste ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9192

Implementation of ​

AbstractEditor.onpaste

Inherited from ​

WithDisposable(ShadowlessElement).onpaste


onpause ​

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

Occurs when playback is paused.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9199

Implementation of ​

AbstractEditor.onpause

Inherited from ​

WithDisposable(ShadowlessElement).onpause


onplay ​

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

Occurs when the play method is requested.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9206

Implementation of ​

AbstractEditor.onplay

Inherited from ​

WithDisposable(ShadowlessElement).onplay


onplaying ​

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

Occurs when the audio or video has started playing.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9213

Implementation of ​

AbstractEditor.onplaying

Inherited from ​

WithDisposable(ShadowlessElement).onplaying


onpointercancel ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9215

Implementation of ​

AbstractEditor.onpointercancel

Inherited from ​

WithDisposable(ShadowlessElement).onpointercancel


onpointerdown ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9217

Implementation of ​

AbstractEditor.onpointerdown

Inherited from ​

WithDisposable(ShadowlessElement).onpointerdown


onpointerenter ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9219

Implementation of ​

AbstractEditor.onpointerenter

Inherited from ​

WithDisposable(ShadowlessElement).onpointerenter


onpointerleave ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9221

Implementation of ​

AbstractEditor.onpointerleave

Inherited from ​

WithDisposable(ShadowlessElement).onpointerleave


onpointermove ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9223

Implementation of ​

AbstractEditor.onpointermove

Inherited from ​

WithDisposable(ShadowlessElement).onpointermove


onpointerout ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9225

Implementation of ​

AbstractEditor.onpointerout

Inherited from ​

WithDisposable(ShadowlessElement).onpointerout


onpointerover ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9227

Implementation of ​

AbstractEditor.onpointerover

Inherited from ​

WithDisposable(ShadowlessElement).onpointerover


onpointerup ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9229

Implementation of ​

AbstractEditor.onpointerup

Inherited from ​

WithDisposable(ShadowlessElement).onpointerup


onprogress ​

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

Occurs to indicate progress while downloading media data.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9236

Implementation of ​

AbstractEditor.onprogress

Inherited from ​

WithDisposable(ShadowlessElement).onprogress


onratechange ​

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

Occurs when the playback rate is increased or decreased.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9243

Implementation of ​

AbstractEditor.onratechange

Inherited from ​

WithDisposable(ShadowlessElement).onratechange


onreset ​

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

Fires when the user resets a form.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9250

Implementation of ​

AbstractEditor.onreset

Inherited from ​

WithDisposable(ShadowlessElement).onreset


onresize ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9252

Implementation of ​

AbstractEditor.onresize

Inherited from ​

WithDisposable(ShadowlessElement).onresize


onscroll ​

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

Fires when the user repositions the scroll box in the scroll bar on the object.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9259

Implementation of ​

AbstractEditor.onscroll

Inherited from ​

WithDisposable(ShadowlessElement).onscroll


onscrollend ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9261

Implementation of ​

AbstractEditor.onscrollend

Inherited from ​

WithDisposable(ShadowlessElement).onscrollend


onsecuritypolicyviolation ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9263

Implementation of ​

AbstractEditor.onsecuritypolicyviolation

Inherited from ​

WithDisposable(ShadowlessElement).onsecuritypolicyviolation


onseeked ​

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

Occurs when the seek operation ends.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9270

Implementation of ​

AbstractEditor.onseeked

Inherited from ​

WithDisposable(ShadowlessElement).onseeked


onseeking ​

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

Occurs when the current playback position is moved.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9277

Implementation of ​

AbstractEditor.onseeking

Inherited from ​

WithDisposable(ShadowlessElement).onseeking


onselect ​

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

Fires when the current selection changes.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9284

Implementation of ​

AbstractEditor.onselect

Inherited from ​

WithDisposable(ShadowlessElement).onselect


onselectionchange ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9286

Implementation of ​

AbstractEditor.onselectionchange

Inherited from ​

WithDisposable(ShadowlessElement).onselectionchange


onselectstart ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9288

Implementation of ​

AbstractEditor.onselectstart

Inherited from ​

WithDisposable(ShadowlessElement).onselectstart


onslotchange ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9290

Implementation of ​

AbstractEditor.onslotchange

Inherited from ​

WithDisposable(ShadowlessElement).onslotchange


onstalled ​

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

Occurs when the download has stopped.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9297

Implementation of ​

AbstractEditor.onstalled

Inherited from ​

WithDisposable(ShadowlessElement).onstalled


onsubmit ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9299

Implementation of ​

AbstractEditor.onsubmit

Inherited from ​

WithDisposable(ShadowlessElement).onsubmit


onsuspend ​

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

Occurs if the load operation has been intentionally halted.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9306

Implementation of ​

AbstractEditor.onsuspend

Inherited from ​

WithDisposable(ShadowlessElement).onsuspend


ontimeupdate ​

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

Occurs to indicate the current playback position.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9313

Implementation of ​

AbstractEditor.ontimeupdate

Inherited from ​

WithDisposable(ShadowlessElement).ontimeupdate


ontoggle ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9315

Implementation of ​

AbstractEditor.ontoggle

Inherited from ​

WithDisposable(ShadowlessElement).ontoggle


ontouchcancel ​

optional ontouchcancel: null | (this, ev) => any

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9317

Implementation of ​

AbstractEditor.ontouchcancel

Inherited from ​

WithDisposable(ShadowlessElement).ontouchcancel


ontouchend ​

optional ontouchend: null | (this, ev) => any

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9319

Implementation of ​

AbstractEditor.ontouchend

Inherited from ​

WithDisposable(ShadowlessElement).ontouchend


ontouchmove ​

optional ontouchmove: null | (this, ev) => any

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9321

Implementation of ​

AbstractEditor.ontouchmove

Inherited from ​

WithDisposable(ShadowlessElement).ontouchmove


ontouchstart ​

optional ontouchstart: null | (this, ev) => any

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9323

Implementation of ​

AbstractEditor.ontouchstart

Inherited from ​

WithDisposable(ShadowlessElement).ontouchstart


ontransitioncancel ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9325

Implementation of ​

AbstractEditor.ontransitioncancel

Inherited from ​

WithDisposable(ShadowlessElement).ontransitioncancel


ontransitionend ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9327

Implementation of ​

AbstractEditor.ontransitionend

Inherited from ​

WithDisposable(ShadowlessElement).ontransitionend


ontransitionrun ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9329

Implementation of ​

AbstractEditor.ontransitionrun

Inherited from ​

WithDisposable(ShadowlessElement).ontransitionrun


ontransitionstart ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9331

Implementation of ​

AbstractEditor.ontransitionstart

Inherited from ​

WithDisposable(ShadowlessElement).ontransitionstart


onvolumechange ​

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

Occurs when the volume is changed, or playback is muted or unmuted.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9338

Implementation of ​

AbstractEditor.onvolumechange

Inherited from ​

WithDisposable(ShadowlessElement).onvolumechange


onwaiting ​

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

Occurs when playback stops because the next frame of a video resource is not available.

Param ​

The event.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9345

Implementation of ​

AbstractEditor.onwaiting

Inherited from ​

WithDisposable(ShadowlessElement).onwaiting


onwebkitanimationend ​

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

Deprecated ​

This is a legacy alias of onanimationend.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9351

Implementation of ​

AbstractEditor.onwebkitanimationend

Inherited from ​

WithDisposable(ShadowlessElement).onwebkitanimationend


onwebkitanimationiteration ​

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

Deprecated ​

This is a legacy alias of onanimationiteration.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9357

Implementation of ​

AbstractEditor.onwebkitanimationiteration

Inherited from ​

WithDisposable(ShadowlessElement).onwebkitanimationiteration


onwebkitanimationstart ​

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

Deprecated ​

This is a legacy alias of onanimationstart.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9363

Implementation of ​

AbstractEditor.onwebkitanimationstart

Inherited from ​

WithDisposable(ShadowlessElement).onwebkitanimationstart


onwebkittransitionend ​

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

Deprecated ​

This is a legacy alias of ontransitionend.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9369

Implementation of ​

AbstractEditor.onwebkittransitionend

Inherited from ​

WithDisposable(ShadowlessElement).onwebkittransitionend


onwheel ​

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

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:9371

Implementation of ​

AbstractEditor.onwheel

Inherited from ​

WithDisposable(ShadowlessElement).onwheel


outerHTML ​

outerHTML: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7642

Implementation of ​

AbstractEditor.outerHTML

Inherited from ​

WithDisposable(ShadowlessElement).outerHTML


outerText ​

outerText: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10078

Implementation of ​

AbstractEditor.outerText

Inherited from ​

WithDisposable(ShadowlessElement).outerText


ownerDocument ​

readonly ownerDocument: Document

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7643

Implementation of ​

AbstractEditor.ownerDocument

Inherited from ​

WithDisposable(ShadowlessElement).ownerDocument


page ​

page: Page

Defined In ​

packages/presets/src/components/editor-container.ts:50

Implementation of ​

AbstractEditor.page


pagePreset ​

pagePreset: BlockSpec< string >[] = PagePreset

Defined In ​

packages/presets/src/components/editor-container.ts:56


parentElement ​

readonly parentElement: null | HTMLElement

Returns the parent element.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16128

Implementation of ​

AbstractEditor.parentElement

Inherited from ​

WithDisposable(ShadowlessElement).parentElement


parentNode ​

readonly parentNode: null | ParentNode

Returns the parent.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16134

Implementation of ​

AbstractEditor.parentNode

Inherited from ​

WithDisposable(ShadowlessElement).parentNode


part ​

readonly part: DOMTokenList

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7645

Implementation of ​

AbstractEditor.part

Inherited from ​

WithDisposable(ShadowlessElement).part


popover ​

popover: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10080

Implementation of ​

AbstractEditor.popover

Inherited from ​

WithDisposable(ShadowlessElement).popover


prefix ​

readonly prefix: null | string

Returns the namespace prefix.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7651

Implementation of ​

AbstractEditor.prefix

Inherited from ​

WithDisposable(ShadowlessElement).prefix


previousElementSibling ​

readonly previousElementSibling: null | Element

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16358

Implementation of ​

AbstractEditor.previousElementSibling

Inherited from ​

WithDisposable(ShadowlessElement).previousElementSibling


previousSibling ​

readonly previousSibling: null | ChildNode

Returns the previous sibling.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16140

Implementation of ​

AbstractEditor.previousSibling

Inherited from ​

WithDisposable(ShadowlessElement).previousSibling


role ​

role: null | string

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2279

Implementation of ​

AbstractEditor.role

Inherited from ​

WithDisposable(ShadowlessElement).role


root ​

root: Ref< BlockSuiteRoot >

Defined In ​

packages/presets/src/components/editor-container.ts:76


scrollHeight ​

readonly scrollHeight: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7653

Implementation of ​

AbstractEditor.scrollHeight

Inherited from ​

WithDisposable(ShadowlessElement).scrollHeight


scrollLeft ​

scrollLeft: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7655

Implementation of ​

AbstractEditor.scrollLeft

Inherited from ​

WithDisposable(ShadowlessElement).scrollLeft


scrollTop ​

scrollTop: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7657

Implementation of ​

AbstractEditor.scrollTop

Inherited from ​

WithDisposable(ShadowlessElement).scrollTop


scrollWidth ​

readonly scrollWidth: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7659

Implementation of ​

AbstractEditor.scrollWidth

Inherited from ​

WithDisposable(ShadowlessElement).scrollWidth


shadowRoot ​

readonly shadowRoot: null | ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7665

Implementation of ​

AbstractEditor.shadowRoot

Inherited from ​

WithDisposable(ShadowlessElement).shadowRoot


slot ​

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7671

Implementation of ​

AbstractEditor.slot

Inherited from ​

WithDisposable(ShadowlessElement).slot


slots ​

slots: RefNodeSlots & EditorSlots

Defined In ​

packages/presets/src/components/editor-container.ts:88

Implementation of ​

AbstractEditor.slots


spellcheck ​

spellcheck: boolean

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10082

Implementation of ​

AbstractEditor.spellcheck

Inherited from ​

WithDisposable(ShadowlessElement).spellcheck


style ​

readonly style: CSSStyleDeclaration

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7855

Implementation of ​

AbstractEditor.style

Inherited from ​

WithDisposable(ShadowlessElement).style


tabIndex ​

tabIndex: number

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:12049

Implementation of ​

AbstractEditor.tabIndex

Inherited from ​

WithDisposable(ShadowlessElement).tabIndex


tagName ​

readonly tagName: string

Returns the HTML-uppercased qualified name.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7677

Implementation of ​

AbstractEditor.tagName

Inherited from ​

WithDisposable(ShadowlessElement).tagName


textContent ​

textContent: null | string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16142

Implementation of ​

AbstractEditor.textContent

Inherited from ​

WithDisposable(ShadowlessElement).textContent


themeObserver ​

readonly themeObserver: ThemeObserver

Defined In ​

packages/presets/src/components/editor-container.ts:78


title ​

title: string

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10084

Implementation of ​

AbstractEditor.title

Inherited from ​

WithDisposable(ShadowlessElement).title


translate ​

translate: boolean

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10085

Implementation of ​

AbstractEditor.translate

Inherited from ​

WithDisposable(ShadowlessElement).translate


[metadata] ​

static [metadata]: object & Record< PropertyKey, unknown >

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:417

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts:27

Inherited from ​

WithDisposable(ShadowlessElement).[metadata]


_$litElement$ ​

static _$litElement$: boolean

Defined In ​

node_modules/.pnpm/lit-element@4.0.2/node_modules/lit-element/development/lit-element.d.ts:84

Inherited from ​

WithDisposable(ShadowlessElement)._$litElement$


_initializers ​

static optional _initializers: Initializer[]

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:258

Inherited from ​

WithDisposable(ShadowlessElement)._initializers


disableShadowRoot ​

static disableShadowRoot: boolean

Defined In ​

packages/lit/dist/element/shadowless-element.d.ts:4

Inherited from ​

WithDisposable(ShadowlessElement).disableShadowRoot


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 ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:272

Inherited from ​

WithDisposable(ShadowlessElement).finalized


isEditorElementActive ​

get isEditorElementActive(): boolean

Defined In ​

packages/presets/src/components/editor-container.ts:84


model ​

get model(): null | PageBlockModel

Defined In ​

packages/presets/src/components/editor-container.ts:80


_saveViewportLocalRecord ​

private _saveViewportLocalRecord(): void

Returns ​

void

Defined In ​

packages/presets/src/components/editor-container.ts:192


addEventListener ​

addEventListener<K>( type, listener, options?): void

Type parameters ​

Parameter
K extends keyof HTMLElementEventMap

Parameters ​

ParameterType
typeK
listenerfunction
options?boolean | AddEventListenerOptions

Returns ​

void

Implementation of ​

AbstractEditor.addEventListener

Inherited from ​

WithDisposable(ShadowlessElement).addEventListener

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10096

addEventListener( type, listener, options?): void

Parameters ​

ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions

Returns ​

void

Implementation of ​

AbstractEditor.addEventListener

Inherited from ​

WithDisposable(ShadowlessElement).addEventListener

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10097


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.after

Inherited from ​

WithDisposable(ShadowlessElement).after

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:5597


animate ​

animate(keyframes, options?): Animation

MDN Reference

Parameters ​

ParameterType
keyframesnull | Keyframe[] | PropertyIndexedKeyframes
options?number | KeyframeAnimationOptions

Returns ​

Animation

Implementation of ​

AbstractEditor.animate

Inherited from ​

WithDisposable(ShadowlessElement).animate

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2429


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.append

Inherited from ​

WithDisposable(ShadowlessElement).append

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16787


appendChild ​

appendChild<T>(node): T

MDN Reference

Type parameters ​

Parameter
T extends Node

Parameters ​

ParameterType
nodeT

Returns ​

T

Implementation of ​

AbstractEditor.appendChild

Inherited from ​

WithDisposable(ShadowlessElement).appendChild

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16144


attachInternals ​

attachInternals(): ElementInternals

MDN Reference

Returns ​

ElementInternals

Implementation of ​

AbstractEditor.attachInternals

Inherited from ​

WithDisposable(ShadowlessElement).attachInternals

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10087


attachShadow ​

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

MDN Reference

Parameters ​

ParameterType
initShadowRootInit

Returns ​

ShadowRoot

Implementation of ​

AbstractEditor.attachShadow

Inherited from ​

WithDisposable(ShadowlessElement).attachShadow

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7683


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.before

Inherited from ​

WithDisposable(ShadowlessElement).before

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:5605


blur ​

blur(): void

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.blur

Inherited from ​

WithDisposable(ShadowlessElement).blur

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:12051


checkVisibility ​

checkVisibility(options?): boolean

Parameters ​

ParameterType
options?CheckVisibilityOptions

Returns ​

boolean

Implementation of ​

AbstractEditor.checkVisibility

Inherited from ​

WithDisposable(ShadowlessElement).checkVisibility

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7684


click ​

click(): void

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.click

Inherited from ​

WithDisposable(ShadowlessElement).click

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10089


cloneNode ​

cloneNode(deep?): Node

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

MDN Reference

Parameters ​

ParameterType
deep?boolean

Returns ​

Node

Implementation of ​

AbstractEditor.cloneNode

Inherited from ​

WithDisposable(ShadowlessElement).cloneNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16150


closest ​

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

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

MDN Reference

Type parameters ​

Parameter
K extends keyof HTMLElementTagNameMap

Parameters ​

ParameterType
selectorK

Returns ​

null | HTMLElementTagNameMap[K]

Implementation of ​

AbstractEditor.closest

Inherited from ​

WithDisposable(ShadowlessElement).closest

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7690

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

Type parameters ​

Parameter
K extends keyof SVGElementTagNameMap

Parameters ​

ParameterType
selectorK

Returns ​

null | SVGElementTagNameMap[K]

Implementation of ​

AbstractEditor.closest

Inherited from ​

WithDisposable(ShadowlessElement).closest

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7691

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

Type parameters ​

Parameter
K extends keyof MathMLElementTagNameMap

Parameters ​

ParameterType
selectorK

Returns ​

null | MathMLElementTagNameMap[K]

Implementation of ​

AbstractEditor.closest

Inherited from ​

WithDisposable(ShadowlessElement).closest

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7692

closest<E>(selectors): null | E

Type parameters ​

ParameterDefault
E extends ElementElement

Parameters ​

ParameterType
selectorsstring

Returns ​

null | E

Implementation of ​

AbstractEditor.closest

Inherited from ​

WithDisposable(ShadowlessElement).closest

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7693


compareDocumentPosition ​

compareDocumentPosition(other): number

Returns a bitmask indicating the position of other relative to node.

MDN Reference

Parameters ​

ParameterType
otherNode

Returns ​

number

Implementation of ​

AbstractEditor.compareDocumentPosition

Inherited from ​

WithDisposable(ShadowlessElement).compareDocumentPosition

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16156


computedStyleMap ​

computedStyleMap(): StylePropertyMapReadOnly

MDN Reference

Returns ​

StylePropertyMapReadOnly

Implementation of ​

AbstractEditor.computedStyleMap

Inherited from ​

WithDisposable(ShadowlessElement).computedStyleMap

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7695


connectedCallback ​

connectedCallback(): void

Returns ​

void

Overrides ​

WithDisposable(ShadowlessElement).connectedCallback

Defined In ​

packages/presets/src/components/editor-container.ts:103


contains ​

contains(other): boolean

Returns true if other is an inclusive descendant of node, and false otherwise.

MDN Reference

Parameters ​

ParameterType
othernull | Node

Returns ​

boolean

Implementation of ​

AbstractEditor.contains

Inherited from ​

WithDisposable(ShadowlessElement).contains

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16162


createContentParser ​

createContentParser(): ContentParser

Returns ​

ContentParser

Deprecated ​

for testing only

Defined In ​

packages/presets/src/components/editor-container.ts:205


createRenderRoot ​

createRenderRoot(): HTMLElement | DocumentFragment

Returns ​

HTMLElement | DocumentFragment

Inherited from ​

WithDisposable(ShadowlessElement).createRenderRoot

Defined In ​

packages/lit/dist/element/shadowless-element.d.ts:6


disconnectedCallback ​

disconnectedCallback(): void

Returns ​

void

Overrides ​

WithDisposable(ShadowlessElement).disconnectedCallback

Defined In ​

packages/presets/src/components/editor-container.ts:154


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.

MDN Reference

Parameters ​

ParameterType
eventEvent

Returns ​

boolean

Implementation of ​

AbstractEditor.dispatchEvent

Inherited from ​

WithDisposable(ShadowlessElement).dispatchEvent

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:8215


firstUpdated ​

firstUpdated(): void

Returns ​

void

Overrides ​

WithDisposable(ShadowlessElement).firstUpdated

Defined In ​

packages/presets/src/components/editor-container.ts:158


focus ​

focus(options?): void

MDN Reference

Parameters ​

ParameterType
options?FocusOptions

Returns ​

void

Implementation of ​

AbstractEditor.focus

Inherited from ​

WithDisposable(ShadowlessElement).focus

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:12053


getAnimations ​

getAnimations(options?): Animation[]

MDN Reference

Parameters ​

ParameterType
options?GetAnimationsOptions

Returns ​

Animation[]

Implementation of ​

AbstractEditor.getAnimations

Inherited from ​

WithDisposable(ShadowlessElement).getAnimations

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:2431


getAttribute ​

getAttribute(qualifiedName): null | string

Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring

Returns ​

null | string

Implementation of ​

AbstractEditor.getAttribute

Inherited from ​

WithDisposable(ShadowlessElement).getAttribute

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7701


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.

MDN Reference

Parameters ​

ParameterType
namespacenull | string
localNamestring

Returns ​

null | string

Implementation of ​

AbstractEditor.getAttributeNS

Inherited from ​

WithDisposable(ShadowlessElement).getAttributeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7707


getAttributeNames ​

getAttributeNames(): string[]

Returns the qualified names of all element's attributes. Can contain duplicates.

MDN Reference

Returns ​

string[]

Implementation of ​

AbstractEditor.getAttributeNames

Inherited from ​

WithDisposable(ShadowlessElement).getAttributeNames

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7713


getAttributeNode ​

getAttributeNode(qualifiedName): null | Attr

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring

Returns ​

null | Attr

Implementation of ​

AbstractEditor.getAttributeNode

Inherited from ​

WithDisposable(ShadowlessElement).getAttributeNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7715


getAttributeNodeNS ​

getAttributeNodeNS(namespace, localName): null | Attr

MDN Reference

Parameters ​

ParameterType
namespacenull | string
localNamestring

Returns ​

null | Attr

Implementation of ​

AbstractEditor.getAttributeNodeNS

Inherited from ​

WithDisposable(ShadowlessElement).getAttributeNodeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7717


getBoundingClientRect ​

getBoundingClientRect(): DOMRect

MDN Reference

Returns ​

DOMRect

Implementation of ​

AbstractEditor.getBoundingClientRect

Inherited from ​

WithDisposable(ShadowlessElement).getBoundingClientRect

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7719


getClientRects ​

getClientRects(): DOMRectList

MDN Reference

Returns ​

DOMRectList

Implementation of ​

AbstractEditor.getClientRects

Inherited from ​

WithDisposable(ShadowlessElement).getClientRects

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7721


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.

MDN Reference

Parameters ​

ParameterType
classNamesstring

Returns ​

HTMLCollectionOf< Element >

Implementation of ​

AbstractEditor.getElementsByClassName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByClassName

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7727


getElementsByTagName ​

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf< HTMLElementTagNameMap[K] >

MDN Reference

Type parameters ​

Parameter
K extends keyof HTMLElementTagNameMap

Parameters ​

ParameterType
qualifiedNameK

Returns ​

HTMLCollectionOf< HTMLElementTagNameMap[K] >

Implementation of ​

AbstractEditor.getElementsByTagName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagName

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7729

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf< SVGElementTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof SVGElementTagNameMap

Parameters ​

ParameterType
qualifiedNameK

Returns ​

HTMLCollectionOf< SVGElementTagNameMap[K] >

Implementation of ​

AbstractEditor.getElementsByTagName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagName

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7730

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf< MathMLElementTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof MathMLElementTagNameMap

Parameters ​

ParameterType
qualifiedNameK

Returns ​

HTMLCollectionOf< MathMLElementTagNameMap[K] >

Implementation of ​

AbstractEditor.getElementsByTagName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagName

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7731

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf< HTMLElementDeprecatedTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters ​

ParameterType
qualifiedNameK

Returns ​

HTMLCollectionOf< HTMLElementDeprecatedTagNameMap[K] >

Implementation of ​

AbstractEditor.getElementsByTagName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagName

Deprecated ​

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7733

getElementsByTagName(qualifiedName): HTMLCollectionOf< Element >

Parameters ​

ParameterType
qualifiedNamestring

Returns ​

HTMLCollectionOf< Element >

Implementation of ​

AbstractEditor.getElementsByTagName

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagName

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7734


getElementsByTagNameNS ​

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf< HTMLElement >

MDN Reference

Parameters ​

ParameterType
namespaceURI"http://www.w3.org/1999/xhtml"
localNamestring

Returns ​

HTMLCollectionOf< HTMLElement >

Implementation of ​

AbstractEditor.getElementsByTagNameNS

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagNameNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7736

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf< SVGElement >

Parameters ​

ParameterType
namespaceURI"http://www.w3.org/2000/svg"
localNamestring

Returns ​

HTMLCollectionOf< SVGElement >

Implementation of ​

AbstractEditor.getElementsByTagNameNS

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagNameNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7737

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf< MathMLElement >

Parameters ​

ParameterType
namespaceURI"http://www.w3.org/1998/Math/MathML"
localNamestring

Returns ​

HTMLCollectionOf< MathMLElement >

Implementation of ​

AbstractEditor.getElementsByTagNameNS

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagNameNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7738

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf< Element >

Parameters ​

ParameterType
namespacenull | string
localNamestring

Returns ​

HTMLCollectionOf< Element >

Implementation of ​

AbstractEditor.getElementsByTagNameNS

Inherited from ​

WithDisposable(ShadowlessElement).getElementsByTagNameNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7739


getRootNode ​

getRootNode(options?): Node

Returns node's root.

MDN Reference

Parameters ​

ParameterType
options?GetRootNodeOptions

Returns ​

Node

Implementation of ​

AbstractEditor.getRootNode

Inherited from ​

WithDisposable(ShadowlessElement).getRootNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16168


getUpdateComplete ​

getUpdateComplete(): Promise< boolean >

Returns ​

Promise< boolean >

Overrides ​

WithDisposable(ShadowlessElement).getUpdateComplete

Defined In ​

packages/presets/src/components/editor-container.ts:94


hasAttribute ​

hasAttribute(qualifiedName): boolean

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring

Returns ​

boolean

Implementation of ​

AbstractEditor.hasAttribute

Inherited from ​

WithDisposable(ShadowlessElement).hasAttribute

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7745


hasAttributeNS ​

hasAttributeNS(namespace, localName): boolean

Returns true if element has an attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters ​

ParameterType
namespacenull | string
localNamestring

Returns ​

boolean

Implementation of ​

AbstractEditor.hasAttributeNS

Inherited from ​

WithDisposable(ShadowlessElement).hasAttributeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7751


hasAttributes ​

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns ​

boolean

Implementation of ​

AbstractEditor.hasAttributes

Inherited from ​

WithDisposable(ShadowlessElement).hasAttributes

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7757


hasChildNodes ​

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns ​

boolean

Implementation of ​

AbstractEditor.hasChildNodes

Inherited from ​

WithDisposable(ShadowlessElement).hasChildNodes

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16174


hasPointerCapture ​

hasPointerCapture(pointerId): boolean

MDN Reference

Parameters ​

ParameterType
pointerIdnumber

Returns ​

boolean

Implementation of ​

AbstractEditor.hasPointerCapture

Inherited from ​

WithDisposable(ShadowlessElement).hasPointerCapture

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7759


hidePopover ​

hidePopover(): void

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.hidePopover

Inherited from ​

WithDisposable(ShadowlessElement).hidePopover

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10091


insertAdjacentElement ​

insertAdjacentElement(where, element): null | Element

MDN Reference

Parameters ​

ParameterType
whereInsertPosition
elementElement

Returns ​

null | Element

Implementation of ​

AbstractEditor.insertAdjacentElement

Inherited from ​

WithDisposable(ShadowlessElement).insertAdjacentElement

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7761


insertAdjacentHTML ​

insertAdjacentHTML(position, text): void

MDN Reference

Parameters ​

ParameterType
positionInsertPosition
textstring

Returns ​

void

Implementation of ​

AbstractEditor.insertAdjacentHTML

Inherited from ​

WithDisposable(ShadowlessElement).insertAdjacentHTML

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7763


insertAdjacentText ​

insertAdjacentText(where, data): void

MDN Reference

Parameters ​

ParameterType
whereInsertPosition
datastring

Returns ​

void

Implementation of ​

AbstractEditor.insertAdjacentText

Inherited from ​

WithDisposable(ShadowlessElement).insertAdjacentText

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7765


insertBefore ​

insertBefore<T>(node, child): T

MDN Reference

Type parameters ​

Parameter
T extends Node

Parameters ​

ParameterType
nodeT
childnull | Node

Returns ​

T

Implementation of ​

AbstractEditor.insertBefore

Inherited from ​

WithDisposable(ShadowlessElement).insertBefore

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16176


isDefaultNamespace ​

isDefaultNamespace(namespace): boolean

MDN Reference

Parameters ​

ParameterType
namespacenull | string

Returns ​

boolean

Implementation of ​

AbstractEditor.isDefaultNamespace

Inherited from ​

WithDisposable(ShadowlessElement).isDefaultNamespace

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16178


isEqualNode ​

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters ​

ParameterType
otherNodenull | Node

Returns ​

boolean

Implementation of ​

AbstractEditor.isEqualNode

Inherited from ​

WithDisposable(ShadowlessElement).isEqualNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16184


isSameNode ​

isSameNode(otherNode): boolean

MDN Reference

Parameters ​

ParameterType
otherNodenull | Node

Returns ​

boolean

Implementation of ​

AbstractEditor.isSameNode

Inherited from ​

WithDisposable(ShadowlessElement).isSameNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16186


lookupNamespaceURI ​

lookupNamespaceURI(prefix): null | string

MDN Reference

Parameters ​

ParameterType
prefixnull | string

Returns ​

null | string

Implementation of ​

AbstractEditor.lookupNamespaceURI

Inherited from ​

WithDisposable(ShadowlessElement).lookupNamespaceURI

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16188


lookupPrefix ​

lookupPrefix(namespace): null | string

MDN Reference

Parameters ​

ParameterType
namespacenull | string

Returns ​

null | string

Implementation of ​

AbstractEditor.lookupPrefix

Inherited from ​

WithDisposable(ShadowlessElement).lookupPrefix

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16190


matches ​

matches(selectors): boolean

Returns true if matching selectors against element's root yields element, and false otherwise.

MDN Reference

Parameters ​

ParameterType
selectorsstring

Returns ​

boolean

Implementation of ​

AbstractEditor.matches

Inherited from ​

WithDisposable(ShadowlessElement).matches

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7771


normalize ​

normalize(): void

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.normalize

Inherited from ​

WithDisposable(ShadowlessElement).normalize

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16196


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.prepend

Inherited from ​

WithDisposable(ShadowlessElement).prepend

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16795


querySelector ​

querySelector<K>(selectors): null | HTMLElementTagNameMap[K]

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

MDN Reference

Type parameters ​

Parameter
K extends keyof HTMLElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

null | HTMLElementTagNameMap[K]

Implementation of ​

AbstractEditor.querySelector

Inherited from ​

WithDisposable(ShadowlessElement).querySelector

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16801

querySelector<K>(selectors): null | SVGElementTagNameMap[K]

Type parameters ​

Parameter
K extends keyof SVGElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

null | SVGElementTagNameMap[K]

Implementation of ​

AbstractEditor.querySelector

Inherited from ​

WithDisposable(ShadowlessElement).querySelector

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16802

querySelector<K>(selectors): null | MathMLElementTagNameMap[K]

Type parameters ​

Parameter
K extends keyof MathMLElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

null | MathMLElementTagNameMap[K]

Implementation of ​

AbstractEditor.querySelector

Inherited from ​

WithDisposable(ShadowlessElement).querySelector

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16803

querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]

Type parameters ​

Parameter
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

null | HTMLElementDeprecatedTagNameMap[K]

Implementation of ​

AbstractEditor.querySelector

Inherited from ​

WithDisposable(ShadowlessElement).querySelector

Deprecated ​

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16805

querySelector<E>(selectors): null | E

Type parameters ​

ParameterDefault
E extends ElementElement

Parameters ​

ParameterType
selectorsstring

Returns ​

null | E

Implementation of ​

AbstractEditor.querySelector

Inherited from ​

WithDisposable(ShadowlessElement).querySelector

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16806


querySelectorAll ​

querySelectorAll<K>(selectors): NodeListOf< HTMLElementTagNameMap[K] >

Returns all element descendants of node that match selectors.

MDN Reference

Type parameters ​

Parameter
K extends keyof HTMLElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

NodeListOf< HTMLElementTagNameMap[K] >

Implementation of ​

AbstractEditor.querySelectorAll

Inherited from ​

WithDisposable(ShadowlessElement).querySelectorAll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16812

querySelectorAll<K>(selectors): NodeListOf< SVGElementTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof SVGElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

NodeListOf< SVGElementTagNameMap[K] >

Implementation of ​

AbstractEditor.querySelectorAll

Inherited from ​

WithDisposable(ShadowlessElement).querySelectorAll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16813

querySelectorAll<K>(selectors): NodeListOf< MathMLElementTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof MathMLElementTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

NodeListOf< MathMLElementTagNameMap[K] >

Implementation of ​

AbstractEditor.querySelectorAll

Inherited from ​

WithDisposable(ShadowlessElement).querySelectorAll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16814

querySelectorAll<K>(selectors): NodeListOf< HTMLElementDeprecatedTagNameMap[K] >

Type parameters ​

Parameter
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters ​

ParameterType
selectorsK

Returns ​

NodeListOf< HTMLElementDeprecatedTagNameMap[K] >

Implementation of ​

AbstractEditor.querySelectorAll

Inherited from ​

WithDisposable(ShadowlessElement).querySelectorAll

Deprecated ​

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16816

querySelectorAll<E>(selectors): NodeListOf< E >

Type parameters ​

ParameterDefault
E extends ElementElement

Parameters ​

ParameterType
selectorsstring

Returns ​

NodeListOf< E >

Implementation of ​

AbstractEditor.querySelectorAll

Inherited from ​

WithDisposable(ShadowlessElement).querySelectorAll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16817


releasePointerCapture ​

releasePointerCapture(pointerId): void

MDN Reference

Parameters ​

ParameterType
pointerIdnumber

Returns ​

void

Implementation of ​

AbstractEditor.releasePointerCapture

Inherited from ​

WithDisposable(ShadowlessElement).releasePointerCapture

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7773


remove ​

remove(): void

Removes node.

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.remove

Inherited from ​

WithDisposable(ShadowlessElement).remove

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:5611


removeAttribute ​

removeAttribute(qualifiedName): void

Removes element's first attribute whose qualified name is qualifiedName.

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring

Returns ​

void

Implementation of ​

AbstractEditor.removeAttribute

Inherited from ​

WithDisposable(ShadowlessElement).removeAttribute

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7779


removeAttributeNS ​

removeAttributeNS(namespace, localName): void

Removes element's attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters ​

ParameterType
namespacenull | string
localNamestring

Returns ​

void

Implementation of ​

AbstractEditor.removeAttributeNS

Inherited from ​

WithDisposable(ShadowlessElement).removeAttributeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7785


removeAttributeNode ​

removeAttributeNode(attr): Attr

MDN Reference

Parameters ​

ParameterType
attrAttr

Returns ​

Attr

Implementation of ​

AbstractEditor.removeAttributeNode

Inherited from ​

WithDisposable(ShadowlessElement).removeAttributeNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7787


removeChild ​

removeChild<T>(child): T

MDN Reference

Type parameters ​

Parameter
T extends Node

Parameters ​

ParameterType
childT

Returns ​

T

Implementation of ​

AbstractEditor.removeChild

Inherited from ​

WithDisposable(ShadowlessElement).removeChild

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16198


removeEventListener ​

removeEventListener<K>( type, listener, options?): void

Type parameters ​

Parameter
K extends keyof HTMLElementEventMap

Parameters ​

ParameterType
typeK
listenerfunction
options?boolean | EventListenerOptions

Returns ​

void

Implementation of ​

AbstractEditor.removeEventListener

Inherited from ​

WithDisposable(ShadowlessElement).removeEventListener

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10098

removeEventListener( type, listener, options?): void

Parameters ​

ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns ​

void

Implementation of ​

AbstractEditor.removeEventListener

Inherited from ​

WithDisposable(ShadowlessElement).removeEventListener

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10099


render ​

render(): null | TemplateResult< 1 >

Returns ​

null | TemplateResult< 1 >

Overrides ​

WithDisposable(ShadowlessElement).render

Defined In ​

packages/presets/src/components/editor-container.ts:209


replaceChild ​

replaceChild<T>(node, child): T

MDN Reference

Type parameters ​

Parameter
T extends Node

Parameters ​

ParameterType
nodeNode
childT

Returns ​

T

Implementation of ​

AbstractEditor.replaceChild

Inherited from ​

WithDisposable(ShadowlessElement).replaceChild

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16200


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.replaceChildren

Inherited from ​

WithDisposable(ShadowlessElement).replaceChildren

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:16825


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.

MDN Reference

Parameters ​

ParameterType
...nodes(string | Node)[]

Returns ​

void

Implementation of ​

AbstractEditor.replaceWith

Inherited from ​

WithDisposable(ShadowlessElement).replaceWith

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:5619


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.

MDN Reference

Parameters ​

ParameterType
options?FullscreenOptions

Returns ​

Promise< void >

Implementation of ​

AbstractEditor.requestFullscreen

Inherited from ​

WithDisposable(ShadowlessElement).requestFullscreen

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7795


requestPointerLock ​

requestPointerLock(): void

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.requestPointerLock

Inherited from ​

WithDisposable(ShadowlessElement).requestPointerLock

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7797


scroll ​

scroll(options?): void

MDN Reference

Parameters ​

ParameterType
options?ScrollToOptions

Returns ​

void

Implementation of ​

AbstractEditor.scroll

Inherited from ​

WithDisposable(ShadowlessElement).scroll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7799

scroll(x, y): void

Parameters ​

ParameterType
xnumber
ynumber

Returns ​

void

Implementation of ​

AbstractEditor.scroll

Inherited from ​

WithDisposable(ShadowlessElement).scroll

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7800


scrollBy ​

scrollBy(options?): void

MDN Reference

Parameters ​

ParameterType
options?ScrollToOptions

Returns ​

void

Implementation of ​

AbstractEditor.scrollBy

Inherited from ​

WithDisposable(ShadowlessElement).scrollBy

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7802

scrollBy(x, y): void

Parameters ​

ParameterType
xnumber
ynumber

Returns ​

void

Implementation of ​

AbstractEditor.scrollBy

Inherited from ​

WithDisposable(ShadowlessElement).scrollBy

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7803


scrollIntoView ​

scrollIntoView(arg?): void

MDN Reference

Parameters ​

ParameterType
arg?boolean | ScrollIntoViewOptions

Returns ​

void

Implementation of ​

AbstractEditor.scrollIntoView

Inherited from ​

WithDisposable(ShadowlessElement).scrollIntoView

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7805


scrollTo ​

scrollTo(options?): void

MDN Reference

Parameters ​

ParameterType
options?ScrollToOptions

Returns ​

void

Implementation of ​

AbstractEditor.scrollTo

Inherited from ​

WithDisposable(ShadowlessElement).scrollTo

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7807

scrollTo(x, y): void

Parameters ​

ParameterType
xnumber
ynumber

Returns ​

void

Implementation of ​

AbstractEditor.scrollTo

Inherited from ​

WithDisposable(ShadowlessElement).scrollTo

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7808


setAttribute ​

setAttribute(qualifiedName, value): void

Sets the value of element's first attribute whose qualified name is qualifiedName to value.

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring
valuestring

Returns ​

void

Implementation of ​

AbstractEditor.setAttribute

Inherited from ​

WithDisposable(ShadowlessElement).setAttribute

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7814


setAttributeNS ​

setAttributeNS( namespace, qualifiedName, value): void

Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

MDN Reference

Parameters ​

ParameterType
namespacenull | string
qualifiedNamestring
valuestring

Returns ​

void

Implementation of ​

AbstractEditor.setAttributeNS

Inherited from ​

WithDisposable(ShadowlessElement).setAttributeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7820


setAttributeNode ​

setAttributeNode(attr): null | Attr

MDN Reference

Parameters ​

ParameterType
attrAttr

Returns ​

null | Attr

Implementation of ​

AbstractEditor.setAttributeNode

Inherited from ​

WithDisposable(ShadowlessElement).setAttributeNode

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7822


setAttributeNodeNS ​

setAttributeNodeNS(attr): null | Attr

MDN Reference

Parameters ​

ParameterType
attrAttr

Returns ​

null | Attr

Implementation of ​

AbstractEditor.setAttributeNodeNS

Inherited from ​

WithDisposable(ShadowlessElement).setAttributeNodeNS

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7824


setPointerCapture ​

setPointerCapture(pointerId): void

MDN Reference

Parameters ​

ParameterType
pointerIdnumber

Returns ​

void

Implementation of ​

AbstractEditor.setPointerCapture

Inherited from ​

WithDisposable(ShadowlessElement).setPointerCapture

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7826


showPopover ​

showPopover(): void

MDN Reference

Returns ​

void

Implementation of ​

AbstractEditor.showPopover

Inherited from ​

WithDisposable(ShadowlessElement).showPopover

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10093


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.

MDN Reference

Parameters ​

ParameterType
qualifiedNamestring
force?boolean

Returns ​

boolean

Implementation of ​

AbstractEditor.toggleAttribute

Inherited from ​

WithDisposable(ShadowlessElement).toggleAttribute

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7834


togglePopover ​

togglePopover(force?): void

MDN Reference

Parameters ​

ParameterType
force?boolean

Returns ​

void

Implementation of ​

AbstractEditor.togglePopover

Inherited from ​

WithDisposable(ShadowlessElement).togglePopover

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:10095


updated ​

updated(changedProperties): void

Parameters ​

ParameterType
changedPropertiesMap< string, unknown >

Returns ​

void

Overrides ​

WithDisposable(ShadowlessElement).updated

Defined In ​

packages/presets/src/components/editor-container.ts:170


webkitMatchesSelector ​

webkitMatchesSelector(selectors): boolean

Parameters ​

ParameterType
selectorsstring

Returns ​

boolean

Implementation of ​

AbstractEditor.webkitMatchesSelector

Inherited from ​

WithDisposable(ShadowlessElement).webkitMatchesSelector

Deprecated ​

This is a legacy alias of matches.

MDN Reference

Defined In ​

node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:7840


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.

ts
const myDecorator = (target: typeof ReactiveElement, key: string) => {
  target.addInitializer((instance: ReactiveElement) => {
    // This is run during construction of the element
    new MyController(instance);
  });
}
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:

ts
class MyElement extends LitElement {
  @myDecorator foo;
}
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 ​

ParameterType
initializerInitializer

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).addInitializer

Nocollapse ​

Defined In ​

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 ​

Defined In ​

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 ​

ParameterType
styles?CSSResultGroup

Returns ​

CSSResultOrNative[]

Inherited from ​

WithDisposable(ShadowlessElement).finalizeStyles

Defined In ​

packages/lit/dist/element/shadowless-element.d.ts:5

attributes ​

observedAttributes ​

static get observedAttributes(): string[]

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:346

Inherited from ​

WithDisposable(ShadowlessElement).observedAttributes


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 ​

ParameterType
namestring
_oldnull | string
valuenull | string

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).attributeChangedCallback

Defined In ​

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 ​

ParameterType
controllerReactiveController

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).addController

Defined In ​

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 ​

ParameterType
controllerReactiveController

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).removeController

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:524

dev-mode ​

disableWarning ​

static optional disableWarning: function

Disable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

ts
// Disable for all ReactiveElement subclasses
ReactiveElement.disableWarning?.('migration');

// Disable for only MyElement and subclasses
MyElement.disableWarning?.('migration');
// Disable for all ReactiveElement subclasses
ReactiveElement.disableWarning?.('migration');

// Disable for only MyElement and subclasses
MyElement.disableWarning?.('migration');

Parameters ​

ParameterType
warningKindWarningKind

Returns ​

void

Nocollapse ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:223

Inherited from ​

WithDisposable(ShadowlessElement).disableWarning


enableWarning ​

static optional enableWarning: function

Enable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

ts
// Enable for all ReactiveElement subclasses
ReactiveElement.enableWarning?.('migration');

// Enable for only MyElement and subclasses
MyElement.enableWarning?.('migration');
// Enable for all ReactiveElement subclasses
ReactiveElement.enableWarning?.('migration');

// Enable for only MyElement and subclasses
MyElement.enableWarning?.('migration');

Parameters ​

ParameterType
warningKindWarningKind

Returns ​

void

Nocollapse ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:205

Inherited from ​

WithDisposable(ShadowlessElement).enableWarning


enabledWarnings ​

static optional enabledWarnings: WarningKind[]

Read or set all the enabled warning categories for this class.

This property is only used in development builds.

Nocollapse ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:187

Inherited from ​

WithDisposable(ShadowlessElement).enabledWarnings

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 ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:280

Inherited from ​

WithDisposable(ShadowlessElement).elementProperties


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 ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:306

Inherited from ​

WithDisposable(ShadowlessElement).properties


createProperty ​

static createProperty(name, options?): void

Creates a property accessor on the element prototype if one does not exist and stores a PropertyDeclaration 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:

ts
static createProperty(name, options) {
  options = Object.assign(options, {myOption: true});
  super.createProperty(name, options);
}
static createProperty(name, options) {
  options = Object.assign(options, {myOption: true});
  super.createProperty(name, options);
}

Parameters ​

ParameterType
namePropertyKey
options?PropertyDeclaration< unknown, unknown >

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).createProperty

Nocollapse ​

Defined In ​

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,

ts
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
    }
  }
}
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 ​

ParameterType
namePropertyKey
keystring | symbol
optionsPropertyDeclaration< unknown, unknown >

Returns ​

undefined | PropertyDescriptor

Inherited from ​

WithDisposable(ShadowlessElement).getPropertyDescriptor

Nocollapse ​

Defined In ​

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 ​

ParameterType
namePropertyKey

Returns ​

PropertyDeclaration< unknown, unknown >

Inherited from ​

WithDisposable(ShadowlessElement).getPropertyOptions

Nocollapse ​

Final ​

Defined In ​

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

Defined In ​

node_modules/.pnpm/lit-element@4.0.2/node_modules/lit-element/development/lit-element.d.ts:88

Inherited from ​

WithDisposable(ShadowlessElement).renderOptions


renderRoot ​

readonly renderRoot: HTMLElement | DocumentFragment

Node or ShadowRoot into which element DOM should be rendered. Defaults to an open shadowRoot.

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:473

Inherited from ​

WithDisposable(ShadowlessElement).renderRoot


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 ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:452

Inherited from ​

WithDisposable(ShadowlessElement).shadowRootOptions

styles ​

elementStyles ​

static elementStyles: CSSResultOrNative[]

Memoized list of all element styles. Created lazily on user subclasses when finalizing the class.

Nocollapse ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:313

Inherited from ​

WithDisposable(ShadowlessElement).elementStyles


styles ​

static optional 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:

html
<script>
  // Generated and unique per request:
  window.litNonce = 'a1b2c3d4';
</script>
<script>
  // Generated and unique per request:
  window.litNonce = 'a1b2c3d4';
</script>

Nocollapse ​

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:340

Inherited from ​

WithDisposable(ShadowlessElement).styles

updates ​

hasUpdated ​

hasUpdated: boolean

Is set to true after the first update. The element code cannot assume that renderRoot exists before the element hasUpdated.

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:491

Inherited from ​

WithDisposable(ShadowlessElement).hasUpdated


isUpdatePending ​

isUpdatePending: boolean

True if there is a pending update as a result of calling requestUpdate(). Should only be read.

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:485

Inherited from ​

WithDisposable(ShadowlessElement).isUpdatePending


updateComplete ​

get updateComplete(): Promise< boolean >

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:671

Inherited from ​

WithDisposable(ShadowlessElement).updateComplete


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 ​

ParameterType
_requestedUpdateboolean

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).enableUpdating

Defined In ​

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

Defined In ​

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 ​

ParameterTypeDescription
name?PropertyKeyname of requesting property
oldValue?unknownold 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

Defined In ​

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:

ts
override protected async scheduleUpdate(): Promise<unknown> {
  await new Promise((resolve) => requestAnimationFrame(() => resolve()));
  super.scheduleUpdate();
}
override protected async scheduleUpdate(): Promise<unknown> {
  await new Promise((resolve) => requestAnimationFrame(() => resolve()));
  super.scheduleUpdate();
}

Returns ​

void | Promise< unknown >

Inherited from ​

WithDisposable(ShadowlessElement).scheduleUpdate

Defined In ​

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 ​

ParameterTypeDescription
_changedPropertiesPropertyValueMap< any > | Map< PropertyKey, unknown >Map of changed properties with old values

Returns ​

boolean

Inherited from ​

WithDisposable(ShadowlessElement).shouldUpdate

Defined In ​

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 ​

ParameterTypeDescription
changedPropertiesPropertyValueMap< any > | Map< PropertyKey, unknown >Map of changed properties with old values

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).update

Defined In ​

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.

ts
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}`;
}
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 ​

ParameterType
_changedPropertiesPropertyValueMap< any > | Map< PropertyKey, unknown >

Returns ​

void

Inherited from ​

WithDisposable(ShadowlessElement).willUpdate

Defined In ​

node_modules/.pnpm/@lit+reactive-element@2.0.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts:653