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

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

Properties

composing

composing: boolean

Source

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


event

event: Event

Inherited from

UIEventState.event

Source

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


raw

raw: KeyboardEvent

Source

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


type

type: string = 'keyboardState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Source

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