eventRemove
Description
Удаляет обработчик события с HTML-элемента
eventRemove: (id: string) => void
Parameters
id- (required) string - идентификатор обработчика события
Example
var eventId = scheduler.event("divId", "click", function(e){
do_something();
});
scheduler.eventRemove(eventId);
Details
Все слушатели событий, добавленные с помощью event, автоматически удаляются при вызове destructor.
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.