adds the hot key handler
key | string | string with the key name |
handler | function | the hot key handler |
obj | object | if provided, the handler will fire only when focus is in the target view |
//global key handler
webix.UIManager.addHotKey("up", my_function);
//activates the handler only when focus is inside of myview
webix.UIManager.addHotKey("ctrl-up", my_function, myview);