|
<!-- #docregion -->
|
|
<h1>My First Attribute Directive</h1>
|
|
<p myHighlight>Highlight me!</p>
|
|
<!-- #enddocregion -->
|
|
<!-- #docregion p-style-background -->
|
|
<p [style.background]="'lime'">I am green with envy!</p>
|
|
<!-- #enddocregion p-style-background -->
|