The Wayback Machine - https://web.archive.org/web/20240920155554/https://angular.dev/api/core/Host/
@angular/core

Host

decorator

Parameter decorator on a view-provider parameter of a class constructor that tells the DI framework to resolve the view by checking injectors of child elements, and stop when reaching the host element of the current component.

  
    @Host ({})
  
  
Jump to details
HTTPS · web.archive.org
← Home