Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ngIndia - HostBinding() and HostListener()

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
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

Transcript

13 slides

More Decks by Nishu Goel

Other Decks in Programming