Methods

dispatch

Send a command to all simple-keyboard instances at once (if you have multiple instances).

keyboard.dispatch(instance => { instance.setOptions({ buttonTheme: [ { class: "myClass", buttons: `a b c` } ] }) });