@HostBinding and @HostListener: what do they do and what are they for?

Discussão em 'Angular' iniciado por serlingpa, Dezembro 28, 2024.

  1. serlingpa

    serlingpa Guest

    In my meanderings around the world wide interweb, and now especially the angular.io style docs, I find many references to @HostBinding and @HostListener. It seems they are quite fundamental, but unfortunately the documentation for them at the moment is a little sketchy.

    Can anyone please explain what they are, how they work and give an example of their usage?

    Continue reading...

Compartilhe esta Página