目录

Keyboard

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.hideKeyboard(Object object)

Hides the soft keyboard.

qg.showKeyboard(Object object)

Displays the soft keyboard.

qg.updateKeyboard(Object object)

Updates the default value displayed in the keyboard input box.

qg.onKeyboardInput(function callback)

Listens for a keyboard input event.

qg.offKeyboardInput(function callback)

Stops listening for a keyboard input event.

qg.onKeyboardConfirm(function callback)

Listens for the event that a user taps the confirm button on the keyboard.

qg.offKeyboardConfirm(function callback)

Stops listening for the event that a user taps the confirm button on the keyboard.

qg.onKeyboardComplete(function callback)

Listens for a keyboard hide event.

qg.offKeyboardComplete(function callback)

Stops listening for a keyboard hide event.

[h2]qg.hideKeyboard(Object object)

[h2]qg.showKeyboard(Object object)

[h2]qg.updateKeyboard(Object object)

[h2]qg.onKeyboardInput(function callback)

[h2]qg.offKeyboardInput(function callback)

[h2]qg.onKeyboardConfirm(function callback)

[h2]qg.offKeyboardConfirm(function callback)

[h2]qg.onKeyboardComplete(function callback)

[h2]qg.offKeyboardComplete(function callback)