BlockSuite API Documentation / @blocksuite/inline / RenderService
Class: RenderService<TextAttributes>
Type Parameters
• TextAttributes extends BaseTextAttributes
Constructors
new RenderService()
new RenderService<
TextAttributes
>(editor
):RenderService
<TextAttributes
>
Parameters
• editor: InlineEditor
<TextAttributes
>
Returns
RenderService
<TextAttributes
>
Defined in
packages/framework/inline/src/services/render.ts:181
Properties
editor
readonly
editor:InlineEditor
<TextAttributes
>
Defined in
packages/framework/inline/src/services/render.ts:181
Accessors
rendering
get
rendering():boolean
Returns
boolean
Defined in
packages/framework/inline/src/services/render.ts:76
Methods
mount()
mount():
void
Returns
void
Defined in
packages/framework/inline/src/services/render.ts:63
render()
render():
void
Returns
void
Defined in
packages/framework/inline/src/services/render.ts:80
rerenderWholeEditor()
rerenderWholeEditor():
void
Returns
void
Defined in
packages/framework/inline/src/services/render.ts:160
waitForUpdate()
waitForUpdate():
Promise
<void
>
Returns
Promise
<void
>
Defined in
packages/framework/inline/src/services/render.ts:174