Wijmo UI for the Web
CompareShortcut Method
- The keyCode indicate the key action.
- The shortcut text passed from server side.
Compare the specified keycode with the shortcut array passed from server side.
Syntax
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( 
   keyCode : any,
   shortcut : 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.
Browser Compatibility
7
5
5

See Also

Reference

BaseUIProcess type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.