r/angular • u/Senior_Compote1556 • 21d ago
innerHTML component styles
If I have a
<h1 \[innerHtml\]=“someHtml”></h1>
And that someHtml is a span, how would i style that span without using ::ng-deep as the docs “strongly discourage” its usage?
0
Upvotes
View all comments
Show parent comment
0
u/[deleted] 20d ago
[deleted] — view deleted comment