mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 01:22:59 +08:00
parent
fd1dd6a55b
commit
0ae4384ec7
@ -639,8 +639,7 @@ class SimpleKeyboard {
|
||||
* Clear the keyboard’s input.
|
||||
* @param {string} [inputName] optional - the internal input to select
|
||||
*/
|
||||
clearInput(inputName: string): void {
|
||||
inputName = inputName || this.options.inputName;
|
||||
clearInput(inputName = this.options.inputName): void {
|
||||
this.input[inputName] = "";
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user