feat: Add definition for beforeInputUpdate

This commit is contained in:
Herbert Lin 2024-05-13 23:28:10 -07:00
parent defbdaaf69
commit aa9f98e73e

View File

@ -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
*/