Identifies keyboard layout modes.
Namespace: MindFusion.Keyboard
File: VirtualKeyboard.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
Compact |
A layout containing only the alpha-numeric block of keys. |
|
Default |
Laptop-like layout containing alpha-numeric and functional keys. |
|
Extended |
Desktop-like layout which also adds a num-pad block. |
Members of this enumeration specify the layout of the Virtual Keyboard.
The following code switches the layout of a JsKeyboard object from Default to 'Extended':
JavaScript Copy Code |
---|
var vk = VirtualKeyboard.create( document.getElementById("keyboard")); vk.setMode(KeyboardMode.Extended); |