BlockSuite API Documentation / @blocksuite/blocks / KeyboardToolbarContext
Type Alias: KeyboardToolbarContext
KeyboardToolbarContext:
object
Type declaration
closeToolbar()
closeToolbar: (
blur
?) =>void
Close tool bar, and blur the focus if blur is true, default is false
Parameters
blur?
boolean
Returns
void
closeToolPanel()
closeToolPanel: () =>
void
Close current tool panel and show virtual keyboard
Returns
void
rootComponent
rootComponent:
PageRootBlockComponent
std
std:
BlockStdScope
Defined in
packages/blocks/src/root-block/widgets/keyboard-toolbar/config.ts:120