Skip to content

BlockSuite API Documentation / @blocksuite/inline / VElement

Class: VElement<T>

Extends

  • LitElement

Type Parameters

T extends BaseTextAttributes = BaseTextAttributes

Constructors

new VElement()

new VElement<T>(): VElement<T>

Returns

VElement<T>

Inherited from

LitElement.constructor

Defined in

node_modules/@lit/reactive-element/development/reactive-element.d.ts:504

Other

delta

Defined in

packages/framework/inline/src/components/v-element.ts:63


endOffset

Defined in

packages/framework/inline/src/components/v-element.ts:68


lineIndex

Defined in

packages/framework/inline/src/components/v-element.ts:71


selected

Defined in

packages/framework/inline/src/components/v-element.ts:74


startOffset

Defined in

packages/framework/inline/src/components/v-element.ts:77

rendering

createRenderRoot()

createRenderRoot(): VElement<T>

Returns

VElement<T>

Overrides

LitElement.createRenderRoot

Defined in

packages/framework/inline/src/components/v-element.ts:15


render()

render(): TemplateResult<1> | typeof nothing

Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

Returns

TemplateResult<1> | typeof nothing

Overrides

LitElement.render

Defined in

packages/framework/inline/src/components/v-element.ts:19