Documentation

hotkey

sets a hotkey that triggers button clicking

string hotkey;

Example

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

See also

Details

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

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