Skip to content

sud.onKeyboardInput ​

JS
    sud.onKeyboardInput(function callback)

Listens for the keyboard input event.

Parameters

  • function callback: The callback function that listens for the event.

Parameters of the callback function

  • Object res: Returns the current value of the keyboard input.

Properties of res:

PropertyTypeDescription
valuestringThe current value of the keyboard input