removeHotKey
removes the hot key handler
void removeHotKey(string key, [function handler,object|string view] );
string | string with the key name | | handler |
function | the hot key handler | | view |
object|string | optional: providing a view reference will remove the handler from it specifically; if set as a string, the hotkey will be removed from all the relevant view instances on the page |
Example
//removes ALL
webix.UIManager.removeHotKey("up");
//removes One
webix.UIManager.removeHotKey("up", my_function);
//removes One for specific view
webix.UIManager.removeHotKey("up", null, $$("button"));
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.