Skip to content

API > @blocksuite/block-std > KeyboardEventState

Class: KeyboardEventState ​

Extends ​

Constructors ​

constructor ​

new KeyboardEventState(__namedParameters): KeyboardEventState

Parameters ​

ParameterType
__namedParametersKeyboardEventStateOptions

Returns ​

KeyboardEventState

Overrides ​

UIEventState.constructor

Defined In ​

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

Properties ​

composing ​

composing: boolean

Defined In ​

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


event ​

event: Event

Defined In ​

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

Inherited from ​

UIEventState.event


raw ​

raw: KeyboardEvent

Defined In ​

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


type ​

type: string = 'keyboardState'

when extends, override it with pattern xxxState

Defined In ​

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

Overrides ​

UIEventState.type