Skip to content

API > @blocksuite/virgo > VKeyboardBinding

Interface: VKeyboardBinding ​

Properties ​

altKey ​

optional altKey: boolean

Defined In ​

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


ctrlKey ​

optional ctrlKey: boolean

Defined In ​

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


handler ​

handler: VKeyboardBindingHandler

Defined In ​

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


key ​

key: string | number | string[]

Defined In ​

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


metaKey ​

optional metaKey: boolean

Defined In ​

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


prefix ​

optional prefix: RegExp

Defined In ​

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


shiftKey ​

optional shiftKey: boolean

Defined In ​

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


shortKey ​

optional shortKey: boolean

Defined In ​

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


suffix ​

optional suffix: RegExp

Defined In ​

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