Angular Directives: Uses of HostBinding and HostListener.
Mar 2, 2022 · 2 min read · In this blog I am going to explain the different use cases of HostBinding HostListener 1. HostBinding Let me justify my statement with an example highlight.directive.ts import { Directive, HostBinding } from '@angular/core'; @Directive({ selec...
SSamet commented