Skip to content

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

Class: KeyboardEventState

Defined in: packages/framework/block-std/src/event/state/keyboard.ts:8

Extends

Constructors

new KeyboardEventState()

new KeyboardEventState(__namedParameters): KeyboardEventState

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

Parameters

__namedParameters

KeyboardEventStateOptions

Returns

KeyboardEventState

Overrides

UIEventState.constructor

Properties

composing

composing: boolean

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


event

event: Event

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

Inherited from

UIEventState.event


raw

raw: KeyboardEvent

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


type

type: string = 'keyboardState'

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

when extends, override it with pattern xxxState

Overrides

UIEventState.type