Initializes a new instance of the Key class.
Namespace: MindFusion.Keyboard
File: Key.js
JavaScript Copy Code |
---|
function Key (config) |
An object literal whose fields are assigned to respective Key properties.
The Key class is used to create keyboard keys programmatically. It is used by the VirtualKeyboardCreator tool. Objects that are provided as parameters to the constructor specify key code, key type, it's content and location.
The follwong example shows keys generated by the KeyboardCreator tool:
JavaScript Copy Code |
---|
keys: |