docs: clarify wording in Template Syntax (#31119)

PR Close #31119
This commit is contained in:
Kapunahele Wong 2019-06-18 17:03:19 -04:00 committed by Kara Erickson
parent a9502886b1
commit 83f0304cfc
1 changed files with 11 additions and 1 deletions

View File

@ -1626,6 +1626,14 @@ Here is an illustration of the `trackBy` effect.
<img src="generated/images/guide/built-in-directives/ngfor-trackby.gif" alt="Animation of trackBy"> <img src="generated/images/guide/built-in-directives/ngfor-trackby.gif" alt="Animation of trackBy">
</figure> </figure>
<div class="alert is-helpful">
Built-in directives use only public APIs; that is,
they do not have special access to any private APIs that other directives can't access.
</div>
<hr/> <hr/>
{@a ngSwitch} {@a ngSwitch}
@ -1753,7 +1761,9 @@ This example declares the `fax` variable as `ref-fax` instead of `#fax`.
## `@Input()` and `@Output()` properties ## `@Input()` and `@Output()` properties
`@Input()` and `@Output()` allow Angular to share data between the parent context and child directives. An `@Input()` property is writable while an `@Output()` property is observable. `@Input()` and `@Output()` allow Angular to share data between the parent context
and child directives or components. An `@Input()` property is writable
while an `@Output()` property is observable.
Consider this example of a child/parent relationship: Consider this example of a child/parent relationship: