detaches a handler from an event
id | number | internal event id, returned by attachEvent() |
// attach event
var evId = myComponent.attachEvent("eventName", function(){
// your code here
});
// detach event
myComponent.detachEvent(evId);
Back to top