simple-keyboard 3.7.79 → 3.7.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -237,6 +237,10 @@ export interface KeyboardOptions {
237
237
  * Retrieves the released key
238
238
  */
239
239
  onKeyReleased?: (button: string, e?: MouseEvent) => any;
240
+ /**
241
+ * Executes the callback function before an input is about to be updated
242
+ */
243
+ beforeInputUpdate?: (instance: SimpleKeyboard) => void;
240
244
  /**
241
245
  * Module options can have any format
242
246
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-keyboard",
3
- "version": "3.7.79",
3
+ "version": "3.7.81",
4
4
  "description": "On-screen Javascript Virtual Keyboard",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -53,7 +53,7 @@
53
53
  "babel-eslint": "^10.1.0",
54
54
  "babel-loader": "^9.1.3",
55
55
  "babel-preset-minify": "^0.5.2",
56
- "core-js": "^3.37.0",
56
+ "core-js": "^3.37.1",
57
57
  "css-loader": "^7.1.1",
58
58
  "css-minimizer-webpack-plugin": "^7.0.0",
59
59
  "eslint": "^8.57.0",