React users: Please use shared props instead of this method. Click here for an example.
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`
}
]
})
});
Demos: JS