removeHotKey

removes the hot key handler

void removeHotKey(string key, [function handler,object|string view] );
keystringstring with the key name
handlerfunctionthe hot key handler
viewobject|stringoptional: 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.