Skip to content

BlockSuite API Documentation / @blocksuite/virgo / createVirgoKeyDownHandler

Function: createVirgoKeyDownHandler() ​

createVirgoKeyDownHandler(vEditor, bindings): (evt) => void

Parameters ​

• vEditor: VEditor<Object>

• bindings: VKeyboardBindingRecord

Returns ​

Function

Parameters ​

• evt: KeyboardEvent

Returns ​

void

Source ​

packages/virgo/src/utils/keyboard.ts:36


Generated using typedoc-plugin-markdown and TypeDoc