Search
KeyboardState.Shift Field
See Also
 






A boolean value specifying state of Shift modifier.

Namespace: MindFusion.Keyboard
File: KeyboardState.js

 Syntax

JavaScript  Copy Code

var Shift

 Remarks

Set KeyboardState.Shift to true and the JsKeyboard will handle key strokes as if the user has pressed (and holds) the Shift key.

 Example

JavaScript  Copy Code

var vk = VirtualKeyboard.create(
  document.getElementById("keyboard"));

KeyboardState.Shift = true;

 See Also