Skip to content

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

Class: KeyboardEventState

Extends

Constructors

new KeyboardEventState()

new KeyboardEventState(__namedParameters): KeyboardEventState

Parameters

__namedParameters: KeyboardEventStateOptions

Returns

KeyboardEventState

Overrides

UIEventState.constructor

Defined in

packages/framework/block-std/src/event/state/keyboard.ts:15

Properties

composing

composing: boolean

Defined in

packages/framework/block-std/src/event/state/keyboard.ts:9


event

event: Event

Inherited from

UIEventState.event

Defined in

packages/framework/block-std/src/event/base.ts:11


raw

raw: KeyboardEvent

Defined in

packages/framework/block-std/src/event/state/keyboard.ts:11


type

type: string = 'keyboardState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Defined in

packages/framework/block-std/src/event/state/keyboard.ts:13