Загрузка...

@HostBinding in Angular | Directives | Angular 12+

@HostBinding binds a Host element property to a property of the directive or component class. Using @HostBinding, you can bind any HTML property like style, title, value etc. with the property of the class of a component or directive.

The host element is the element on which we use the selector of our custom directive or component.

In this lecture, let's understand how and where we can use @HostBinding decorator in Angular.

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

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

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