detachEvent of common helpers, Methods Webix Docs

StartAPI Referencecommon helpersMethods

detaches a handler from an event (which was attached before by the attachEvent method)

void detachEvent(string id);

id

stringthe event id (the result of the attachEvent operation)

Example

var myEvent = $$("mylist").attachEvent("onItemClick", function (){
    ...//event handler code
});
...
$$("mylist").detachEvent(myEvent);

See also

  • API

  • Articles

  • 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.

    Go to Forum