Search
KeyboardState.Ctrl Field
See Also
 






A boolean value specifying state of Ctrl modifier.

Namespace: MindFusion.Keyboard
File: KeyboardState.js

 Syntax

JavaScript  Copy Code

var Ctrl

 Remarks

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

 Example

JavaScript  Copy Code

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

KeyboardState.Ctrl = true;

 See Also