hotkey

sets a hotkey that triggers button clicking

string hotkey;

Example

{ view:"button", label:"Login" , click: doOnClick, hotkey: "enter" }

Related samples

Details

It's also possible to set combinations of keys joined by '+' or '-' sign.

{ view:"button", label:"Login" , click: doOnClick, hotkey: "enter+shift" }
See also
Back to top