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

@blocksuite/block-std.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

@blocksuite/block-std.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

@blocksuite/block-std.UIEventState.type

Source

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


Generated using TypeDoc and typedoc-plugin-markdown.