Skip to content

BlockSuite API Documentation / @blocksuite/inline / KeyboardBinding

Interface: KeyboardBinding

Properties

altKey?

optional altKey: boolean

Defined in

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


ctrlKey?

optional ctrlKey: boolean

Defined in

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


handler

handler: KeyboardBindingHandler

Defined in

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


key

key: string | number | string[]

Defined in

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


metaKey?

optional metaKey: boolean

Defined in

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


prefix?

optional prefix: RegExp

Defined in

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


shiftKey?

optional shiftKey: boolean

Defined in

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


shortKey?

optional shortKey: boolean

Defined in

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


suffix?

optional suffix: RegExp

Defined in

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