Загрузка...

@HostListner in Angular | Directives | Angular 12+

HostListener Decorator listens to the DOM event on the host element. It also provides a handler method to run when that event occurs. The host element is the element on which we attach our directive or component.

In this lecture, let's understand the use of @HostListner decorator with an example.

Видео @HostListner in Angular | Directives | Angular 12+ канала procademy
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять