diff --git a/src/lib/interfaces.ts b/src/lib/interfaces.ts index cba5aa9f..a7b735d0 100644 --- a/src/lib/interfaces.ts +++ b/src/lib/interfaces.ts @@ -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 */