API > @blocksuite/virgo > createVirgoKeyDownHandler
Function: createVirgoKeyDownHandler ​
createVirgoKeyDownHandler(
vEditor
,bindings
):function
Parameters ​
Parameter | Type |
---|---|
vEditor | VEditor < {bold : null | true ; code : null | true ; italic : null | true ; link : null | string ; strike : null | true ; underline : null | true ;} > |
bindings | VKeyboardBindingRecord |
Returns ​
(
evt
):void
Parameters ​
Parameter Type evt
KeyboardEvent
Returns ​
void
Defined In ​
packages/virgo/src/utils/keyboard.ts:36