Keyboard

Manage virtual keyboard state on mobile devices.

hide() (static)

Hide the virtual keyboard.

show([options]) (static)

Show the virtual keyboard.

Arguments:
options (Integer)

Virtual keyboard options

OPTION_NORMAL(readonly)

  • Type: Integer

Normal android keyboard (default).

OPTION_NUMERIC(readonly)

  • Type: Integer

Numeric only keyboard.

var Keyboard= require("Keyboard");
Keyboard.show(Keyboard.OPTION_NUMERIC);

OPTION_TEXT_ONLY(readonly)

  • Type: Integer

Text only virtual keyboard (no auto-completion, emoji, etc..).


Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!