Interface KeyboardActiveEvent

"active" event payload.

This event is emitted when a lens requests a keyboard to be shown or dismissed. The application should listen for this event and display or remove its keyboard UI accordingly.

interface KeyboardActiveEvent {
    active: boolean;
    text: string;
    lens: Lens;
    element: HTMLTextAreaElement;
}

Properties

Properties

active: boolean

Indicates whether the keyboard should be displayed (true) or hidden (false).

text: string

The current text input associated with the keyboard.

lens: Lens

The lens that initiated the keyboard request.

Clients apps are responsible to create keyboard UI.

MMNEPVFCICPMFPCPTTAAATR