diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index fd065213..de878cf6 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -111,6 +111,16 @@ declare module 'simple-keyboard' { */ inputPattern?: any; + /** + * Instructs simple-keyboard to use touch events instead of click events. + */ + useTouchEvents?: boolean; + + /** + * Enable useTouchEvents automatically when touch device is detected. + */ + autoUseTouchEvents?: boolean; + /** * Executes the callback function on key press. Returns button layout name (i.e.: "{shift}"). */ @@ -121,6 +131,16 @@ declare module 'simple-keyboard' { */ onChange?: (input: string) => any; + /** + * Executes the callback function before the first simple-keyboard render. + */ + beforeFirstRender?: () => void; + + /** + * Executes the callback function before a simple-keyboard render. + */ + beforeRender?: () => void; + /** * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts). */