mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-05-19 00:00:07 +08:00
feat: Add definition for beforeInputUpdate
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user