simple-keyboard 3.5.18 → 3.5.19

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.
@@ -225,6 +225,14 @@ export interface KeyboardOptions {
225
225
  * Retrieves all inputs
226
226
  */
227
227
  onChangeAll?: (inputObj: KeyboardInput, e?: MouseEvent) => any;
228
+ /**
229
+ * Retrieves the pressed key
230
+ */
231
+ onKeyPress?: (button: string, e?: MouseEvent) => any;
232
+ /**
233
+ * Retrieves the released key
234
+ */
235
+ onKeyReleased?: (button: string, e?: MouseEvent) => any;
228
236
  /**
229
237
  * Module options can have any format
230
238
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-keyboard",
3
- "version": "3.5.18",
3
+ "version": "3.5.19",
4
4
  "description": "On-screen Javascript Virtual Keyboard",
5
5
  "main": "build/index.js",
6
6
  "scripts": {