Parse the shortcutsString and judge whether the key user pressed
is a shortcutkey defined by deveploper.
not replace indexOf, substring method, because autotest is slow
Javascript (Usage) | |
---|
var instance = new wijmo.input.BaseUIProcess();
var value; // Type: any
// Parameters
var keyCode; // Type: any
var strShortcut; // Type: any
value = instance.GetKeyActionName(keyCode, strShortcut);
|
Javascript (Specification) | |
---|
function GetKeyActionName(
: any,
: any
) : any;
|
Parameters
- keyCode
- - The specified keyCode will be checked.
- strShortcut
- - The shortcuts string passed from the server side.
Return Value
Returns the shortcut's keyAction Name if contains the specified
keyCode action; else return null.