From b185fd8b4fa7ddc43125da571aaeb8c429845296 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Wed, 20 Nov 2019 16:49:34 -0500 Subject: [PATCH] Update Keyboard.js --- src/lib/components/Keyboard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js index 9bfc2ff7..242b1802 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -61,6 +61,7 @@ class SimpleKeyboard { * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance. * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard. * @property {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input. + * @property {boolean} stopMouseDownPropagation Stops pointer down events on simple-keyboard buttons from bubbling to parent elements. * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have. * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).