Перейти к основному содержимому

eventRemove

Description

Удаляет обработчик события из HTML-элемента

eventRemove: (id: string) => void

Parameters

  • id - (обязательно) string - идентификатор обработчика события

Example

const eventId = scheduler.event("divId", "click", function(e){
do_something();
});

scheduler.eventRemove(eventId);

Details

Все обработчики событий, прикрепленные с использованием event, будут автоматически отсоединены, когда будет вызван destructor.

Change log

  • добавлено в версии 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.