Skip to content

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

Class: KeyboardEventState

Extends

Constructors

new KeyboardEventState(__namedParameters)

new KeyboardEventState(__namedParameters): KeyboardEventState

Parameters

__namedParameters: KeyboardEventStateOptions

Returns

KeyboardEventState

Overrides

UIEventState.constructor

Source

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

Properties

composing

composing: boolean

Source

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


event

event: Event

Inherited from

UIEventState.event

Source

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


raw

raw: KeyboardEvent

Source

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


type

type: string = 'keyboardState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Source

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