Search
KeyboardState.NumLock Field
See Also
 






A boolean value specifying state of Num Lock.

Namespace: MindFusion.Keyboard
File: KeyboardState.js

 Syntax

JavaScript  Copy Code

var NumLock

 Remarks

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

 Example

JavaScript  Copy Code

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

KeyboardState.NumLock = true;

 See Also