File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
modules/angular2/src/common Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import {BaseException} from "../../facade/exceptions";
2121 * each instantiated template inherits from the outer context with the given loop variable set
2222 * to the current item from the iterable.
2323 *
24- * # Local Variables
24+ * ### Local Variables
2525 *
2626 * `NgFor` provides several exported values that can be aliased to local variables:
2727 *
@@ -33,7 +33,7 @@ import {BaseException} from "../../facade/exceptions";
3333 * * `even` will be set to a boolean value indicating whether this item has an even index.
3434 * * `odd` will be set to a boolean value indicating whether this item has an odd index.
3535 *
36- * # Change Propagation
36+ * ### Change Propagation
3737 *
3838 * When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:
3939 *
@@ -56,7 +56,7 @@ import {BaseException} from "../../facade/exceptions";
5656 * elements were deleted and all new elements inserted). This is an expensive operation and should
5757 * be avoided if possible.
5858 *
59- * # Syntax
59+ * ### Syntax
6060 *
6161 * - `<li *ngFor="#item of items; #i = index">...</li>`
6262 * - `<li template="ngFor #item of items; #i = index">...</li>`
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export class SwitchView {
2121 * `NgSwitch` simply inserts nested elements based on which match expression matches the value
2222 * obtained from the evaluated switch expression. In other words, you define a container element
2323 * (where you place the directive with a switch expression on the
24- * ** `[ngSwitch]="..."` attribute** ), define any inner elements inside of the directive and
24+ * `[ngSwitch]="..."` attribute), define any inner elements inside of the directive and
2525 * place a `[ngSwitchWhen]` attribute per element.
2626 *
2727 * The `ngSwitchWhen` property is used to inform `NgSwitch` which element to display when the
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const formControlBinding =
5757 * }
5858 * ```
5959 *
60- * ###ngModel
60+ * ### ngModel
6161 *
6262 * We can also use `ngModel` to bind a domain model to the form.
6363 *
You can’t perform that action at this time.
0 commit comments