Working with Angular Components

You are using the :host pseudo-class selector to target styles in the element that hosts the component in Angular.

What can you achieve by using function form when doing so?

Options
  1. You can apply host styles conditionally
  2. You can include another selector inside the host
  3. You can target the host element
  4. You can host element inside parent’s component

Related Posts

Close Bitnami banner
Bitnami