Skip to content

BlockSuite API Documentation / @blocksuite/block-std / KeymapIdentifier

Function: KeymapIdentifier()

KeymapIdentifier(variant): ServiceIdentifier<object>

Parameters

variant: string

Returns

ServiceIdentifier<object>

getter()

getter: (std) => Record<string, UIEventHandler>

Parameters

std: BlockStdScope

Returns

Record<string, UIEventHandler>

options?

optional options: EventOptions

Defined in

packages/framework/block-std/src/identifier.ts:31