Skip to content

BlockSuite API Documentation / @blocksuite/inline / AttributeRenderer

Type alias: AttributeRenderer<TextAttributes>

AttributeRenderer<TextAttributes>: (delta, selected) => TemplateResult<1>

Type parameters

TextAttributes extends BaseTextAttributes = BaseTextAttributes

Parameters

delta: DeltaInsert<TextAttributes>

selected: boolean

Returns

TemplateResult<1>

Source

packages/framework/inline/src/types.ts:12


Generated using TypeDoc and typedoc-plugin-markdown.