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