Angular hostBinding

What are angular hostbinding and angular hostlistener ?

An angular directive is instructions or guidelines for rendering a template. The directive allows us to change the appearance or behavior of a DOM element. An Angular offers lots of built-in directives, which we had learned in the previous article. We can create our own custom directive to have a feature that is specific to …

What are angular hostbinding and angular hostlistener ? Read More »