eventRemove
Description
Removes an event handler from an HTML element
eventRemove: (id: string) => void
Parameters
id- (required) string - the id of an event handler
Example
var eventId = scheduler.event("divId", "click", function(e){
do_something();
});
scheduler.eventRemove(eventId);
Details
All event listeners attached using event will be detached automatically when the destructor is called.
Related API
Change log
- added in version 4.4
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.