Skip to main content

Interface: VirtualKeyboardEvent

Extends

  • CompositeEvent

Properties

code

code: string

Code for the key, not taking into account any modifiers.

Source

addons/src/composites/virtual-keyboard.ts:113


compositeEventType

compositeEventType: "VirtualKeyboardKeyUp" | "VirtualKeyboardKeyDown" | "VirtualKeyboardKeyLeave"

Overrides

CompositeEvent.compositeEventType

Source

addons/src/composites/virtual-keyboard.ts:105


compositeType

compositeType: "VirtualKeyboard"

Overrides

CompositeEvent.compositeType

Source

addons/src/composites/virtual-keyboard.ts:104


handled?

optional handled: boolean

Has the event been taken care of by the listener and not be dispatched to other targets?

Inherited from

CompositeEvent.handled

Source

core/dist/index.d.ts:2309


iso8601Timestamp

iso8601Timestamp: string

Timestamp of th event, from new Date().toISOString()

Inherited from

CompositeEvent.iso8601Timestamp

Source

core/dist/index.d.ts:2313


key

key: string

String that is generated when key is pressed, with any modifiers (e.g., Shift) applied.

Source

addons/src/composites/virtual-keyboard.ts:111


keyTapMetadata

keyTapMetadata: KeyTapMetadata

Metadata related to the key tap.

Source

addons/src/composites/virtual-keyboard.ts:117


sequence?

optional sequence: number

Sequence number of event.

Remarks

Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.

Inherited from

CompositeEvent.sequence

Source

core/dist/index.d.ts:2318


shiftKey

shiftKey: boolean

True if the Shift key is pressed.

Source

addons/src/composites/virtual-keyboard.ts:115


target

target: string | VirtualKeyboard

Overrides

CompositeEvent.target

Source

addons/src/composites/virtual-keyboard.ts:109


timestamp

timestamp: number

Timestamp of the event, from performance.now()

Inherited from

CompositeEvent.timestamp

Source

core/dist/index.d.ts:2311


type

type: "Composite"

Overrides

CompositeEvent.type

Source

addons/src/composites/virtual-keyboard.ts:103