Skip to content

BlockSuite API Documentation / @blocksuite/inline / EventService

Class: EventService<TextAttributes>

Defined in: packages/framework/inline/src/services/event.ts:13

Type Parameters

TextAttributes

TextAttributes extends BaseTextAttributes

Constructors

new EventService()

new EventService<TextAttributes>(editor): EventService<TextAttributes>

Defined in: packages/framework/inline/src/services/event.ts:382

Parameters

editor

InlineEditor<TextAttributes>

Returns

EventService<TextAttributes>

Properties

editor

readonly editor: InlineEditor<TextAttributes>

Defined in: packages/framework/inline/src/services/event.ts:382

Accessors

isComposing

Get Signature

get isComposing(): boolean

Defined in: packages/framework/inline/src/services/event.ts:378

Returns

boolean

Methods

mount()

mount(): void

Defined in: packages/framework/inline/src/services/event.ts:329

Returns

void