JsKeyboard simulates key-press by modifying the text of the element that currently has the input focus. The position of the caret is also updated accordingly. Functional keys by default produce no input. If you wish to perform certain actions when the user presses a functional key you should handle the keyPressed event.
JavaScript Copy Code |
---|
vKeyboard.keyPressed.addEventListener( |