Compare the specified keycode with the shortcut array passed from server side.
Javascript (Usage) | |
---|
var instance = new wijmo.input.BaseUIProcess();
var value; // Type: bool
// Parameters
var keyCode; // Type: any
var shortcut; // Type: any
value = instance.CompareShortcut(keyCode, shortcut);
|
Javascript (Specification) | |
---|
function CompareShortcut(
: any,
: any
) : bool;
|
Parameters
- keyCode
- - The keyCode indicate the key action.
- shortcut
- - The shortcut text passed from server side.
Return Value
Return true if keycode in the shortcuts array otherwise return false.