Search
KeyboardMode Enumeration
See Also
 






Identifies keyboard layout modes.

Namespace: MindFusion.Keyboard
File: VirtualKeyboard.js

 Syntax

JavaScript  Copy Code

// enum
KeyboardMode = {}

 Members

  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.

 Remarks

Members of this enumeration specify the layout of the Virtual Keyboard.

 Example

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);

 See Also