Search
KeyboardState.CapsLock Field
See Also
 






A boolean value specifying state of Caps Lock.

Namespace: MindFusion.Keyboard
File: KeyboardState.js

 Syntax

JavaScript  Copy Code

var CapsLock

 Remarks

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

 Example

JavaScript  Copy Code

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

KeyboardState.CapsLock = true;

 See Also