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/inline/src/types.ts:12


Generated using typedoc-plugin-markdown and TypeDoc