Skip to content

BlockSuite API Documentation / @blocksuite/inline / KeyboardBinding

Interface: KeyboardBinding

Properties

altKey?

optional altKey: boolean

Source

packages/framework/inline/src/utils/keyboard.ts:19


ctrlKey?

optional ctrlKey: boolean

Source

packages/framework/inline/src/utils/keyboard.ts:21


handler

handler: KeyboardBindingHandler

Source

packages/framework/inline/src/utils/keyboard.ts:14


key

key: string | number | string[]

Source

packages/framework/inline/src/utils/keyboard.ts:13


metaKey?

optional metaKey: boolean

Source

packages/framework/inline/src/utils/keyboard.ts:20


prefix?

optional prefix: RegExp

Source

packages/framework/inline/src/utils/keyboard.ts:15


shiftKey?

optional shiftKey: boolean

Source

packages/framework/inline/src/utils/keyboard.ts:18


shortKey?

optional shortKey: boolean

Source

packages/framework/inline/src/utils/keyboard.ts:17


suffix?

optional suffix: RegExp

Source

packages/framework/inline/src/utils/keyboard.ts:16