Skip to content

BlockSuite API Documentation / @blocksuite/inline / VText

Class: VText

Extends

  • LitElement

Constructors

new VText()

new VText(): VText

Returns

VText

Inherited from

LitElement.constructor

Defined in

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

Other

str

Defined in

packages/framework/inline/src/components/v-text.ts:27

rendering

createRenderRoot()

createRenderRoot(): VText

Returns

VText

Overrides

LitElement.createRenderRoot

Defined in

packages/framework/inline/src/components/v-text.ts:8


render()

render(): TemplateResult<1>

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>

Overrides

LitElement.render

Defined in

packages/framework/inline/src/components/v-text.ts:12