docs(markdown): add missing space between markdown ### and text, turn h1 into h3s, remove bold.
Closes #7996
This commit is contained in:
parent
43e31c5abb
commit
45f5df371d
|
@ -21,7 +21,7 @@ import {BaseException} from "../../facade/exceptions";
|
||||||
* each instantiated template inherits from the outer context with the given loop variable set
|
* each instantiated template inherits from the outer context with the given loop variable set
|
||||||
* to the current item from the iterable.
|
* to the current item from the iterable.
|
||||||
*
|
*
|
||||||
* # Local Variables
|
* ### Local Variables
|
||||||
*
|
*
|
||||||
* `NgFor` provides several exported values that can be aliased to local variables:
|
* `NgFor` provides several exported values that can be aliased to local variables:
|
||||||
*
|
*
|
||||||
|
@ -33,7 +33,7 @@ import {BaseException} from "../../facade/exceptions";
|
||||||
* * `even` will be set to a boolean value indicating whether this item has an even index.
|
* * `even` will be set to a boolean value indicating whether this item has an even index.
|
||||||
* * `odd` will be set to a boolean value indicating whether this item has an odd index.
|
* * `odd` will be set to a boolean value indicating whether this item has an odd index.
|
||||||
*
|
*
|
||||||
* # Change Propagation
|
* ### Change Propagation
|
||||||
*
|
*
|
||||||
* When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:
|
* When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:
|
||||||
*
|
*
|
||||||
|
@ -56,7 +56,7 @@ import {BaseException} from "../../facade/exceptions";
|
||||||
* elements were deleted and all new elements inserted). This is an expensive operation and should
|
* elements were deleted and all new elements inserted). This is an expensive operation and should
|
||||||
* be avoided if possible.
|
* be avoided if possible.
|
||||||
*
|
*
|
||||||
* # Syntax
|
* ### Syntax
|
||||||
*
|
*
|
||||||
* - `<li *ngFor="#item of items; #i = index">...</li>`
|
* - `<li *ngFor="#item of items; #i = index">...</li>`
|
||||||
* - `<li template="ngFor #item of items; #i = index">...</li>`
|
* - `<li template="ngFor #item of items; #i = index">...</li>`
|
||||||
|
|
|
@ -21,7 +21,7 @@ export class SwitchView {
|
||||||
* `NgSwitch` simply inserts nested elements based on which match expression matches the value
|
* `NgSwitch` simply inserts nested elements based on which match expression matches the value
|
||||||
* obtained from the evaluated switch expression. In other words, you define a container element
|
* obtained from the evaluated switch expression. In other words, you define a container element
|
||||||
* (where you place the directive with a switch expression on the
|
* (where you place the directive with a switch expression on the
|
||||||
* **`[ngSwitch]="..."` attribute**), define any inner elements inside of the directive and
|
* `[ngSwitch]="..."` attribute), define any inner elements inside of the directive and
|
||||||
* place a `[ngSwitchWhen]` attribute per element.
|
* place a `[ngSwitchWhen]` attribute per element.
|
||||||
*
|
*
|
||||||
* The `ngSwitchWhen` property is used to inform `NgSwitch` which element to display when the
|
* The `ngSwitchWhen` property is used to inform `NgSwitch` which element to display when the
|
||||||
|
|
|
@ -57,7 +57,7 @@ const formControlBinding =
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* ###ngModel
|
* ### ngModel
|
||||||
*
|
*
|
||||||
* We can also use `ngModel` to bind a domain model to the form.
|
* We can also use `ngModel` to bind a domain model to the form.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue