Skip to content

sud.showKeyboard ​

JS
    sud.showKeyboard(Object object)

Shows the keyboard.

Parameters

  • Object object: The input parameters. See the table below for the specific properties.

Properties of object:

PropertyTypeRequiredDescription
defaultValuestringNoThe default value shown in the keyboard input field. Defaults to an empty string
maxLengthnumberNoThe maximum length of the text in the keyboard. Defaults to 100
multiplebooleanNoWhether multi-line input is enabled. Defaults to false
confirmHoldbooleanNoWhether the keyboard stays visible when confirm is tapped. false: hide; true: keep visible. Defaults to true
confirmTypestringNoThe type of the confirm button in the bottom-right corner of the keyboard. Supported values are done, next, search, go, and send. Defaults to done. See the figure below for the valid values
successfunctionNoCallback function for a successful API call
failfunctionNoCallback function for a failed API call
completefunctionNoCallback function invoked when the API call completes

Valid values for confirmType:

ValueDescription
doneDone
nextNext
searchSearch
goGo
sendSend