ngIndia - HostBinding() and HostListener()

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Nishu Goel
February 23, 2019

ngIndia - HostBinding() and HostListener()

Directives in Angular help us to attach a specified behavior to the DOM. We can also create custom attribute directives and apply them on DOM elements. We can also capture the events and properties of the host element using HostBinding() and HostListener().

Nishu Goel

February 23, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

13 slides

More Decks by Nishu Goel

Other Decks in Programming