:host(selector) { ... }
https://stackoverflow.com/questions/32853924/angular-2-how-to-style-host-element-of-the-component
Angular 2: How to style host element of the component?
I have component in Angular 2 called my-comp: How does one style the host element of this component in Angular 2? In Polymer, You would use ":host" selector. I tr...
stackoverflow.com
'FE > Angular' 카테고리의 다른 글
[ ANGULAR ] ngFor by KeyValue (0) | 2021.11.17 |
---|---|
[ ANGULAR ] ngx-datatable toolTip (0) | 2021.11.05 |
[ Angular ] Angular Starter (0) | 2021.10.16 |
[ ANGULAR ] INPUT 값 갱신 (0) | 2021.10.12 |
[ ANGULAR ] Clear Interval (0) | 2021.09.28 |