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: (textAttributes?) => undefined | TextAttributes

selected: boolean

Returns

TemplateResult<1>

Source

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


Generated using TypeDoc and typedoc-plugin-markdown.