mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-31 18:49:47 +08:00
feat: Add definition for beforeInputUpdate
This commit is contained in:
parent
defbdaaf69
commit
aa9f98e73e
@ -291,6 +291,11 @@ export interface KeyboardOptions {
|
||||
*/
|
||||
onKeyReleased?: (button: string, e?: MouseEvent) => any;
|
||||
|
||||
/**
|
||||
* Executes the callback function before an input is about to be updated
|
||||
*/
|
||||
beforeInputUpdate?: (instance: SimpleKeyboard) => void;
|
||||
|
||||
/**
|
||||
* Module options can have any format
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user