parent
60b91656cd
commit
a161b4ab6d
@ -353,7 +353,7 @@ You can also experience and download the <live-example title="Attribute Directiv
|
|||||||
|
|
||||||
### Appendix: Why add _@Input_?
|
### Appendix: Why add _@Input_?
|
||||||
|
|
||||||
In this demo, the `hightlightColor` property is an ***input*** property of
|
In this demo, the `highlightColor` property is an ***input*** property of
|
||||||
the `HighlightDirective`. You've seen it applied without an alias:
|
the `HighlightDirective`. You've seen it applied without an alias:
|
||||||
|
|
||||||
<code-example path="attribute-directives/src/app/highlight.directive.2.ts" linenums="false" title="src/app/highlight.directive.ts (color)" region="color"></code-example>
|
<code-example path="attribute-directives/src/app/highlight.directive.2.ts" linenums="false" title="src/app/highlight.directive.ts (color)" region="color"></code-example>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user