Read full article on the Infragistics blog To understand @HostListener and @HostBinding, you should have basic knowledge about directives in Angular. There are three types of directives in Angular: Component Attribute Directive Structural Directive The basic difference between a component and a directive is that a component has a template, whereas an attribute or structural … Continue reading What are @HostBinding() and @HostListener() in Angular?
Attribute Directives are used to change the behavior, appearance or look of an element on a user input or via data from the service. Essentially, there are three types of directives in Angular: Component Structural directives Attribute directives In this post, we will learn how to create Attribute Directives in Angular . So let’s say … Continue reading Exploring Attribute Directives in Angular