Skip to content

BlockSuite API Documentation / @blocksuite/inline / renderElement

Function: renderElement()

renderElement<TextAttributes>(delta, parseAttributes, selected): TemplateResult<1>

Type Parameters

TextAttributes extends object

Parameters

delta: DeltaInsert<TextAttributes>

parseAttributes

selected: boolean

Returns

TemplateResult<1>

Defined in

packages/framework/inline/src/utils/renderer.ts:6