Angular component host property

Host Property
You can use host property to add class to the host of component.
This article explains what host element is and how it works.

Host Element.
When Angular renders component, template is wrapped by host an element.

Example
@Component({
selector: ‘app-component’,
template: `

株式会社digglue 東京都新宿区天神町6 Mビル8F

jaJA
上部へスクロール