docs(api): changes to correct jade errors in API doc gen (#11619)

This commit is contained in:
Naomi Black 2016-09-15 09:09:00 -07:00 committed by Igor Minar
parent c0bdd89b5d
commit cfc12c6539
2 changed files with 17 additions and 12 deletions

View File

@ -91,10 +91,12 @@ export class NgPlural {
* given expression matches the plural expression according to CLDR rules. * given expression matches the plural expression according to CLDR rules.
* *
* @howToUse * @howToUse
* <some-element [ngPlural]="value"> * ```
* <ng-container *ngPluralCase="'=0'">...</ng-container> * <some-element [ngPlural]="value">
* <ng-container *ngPluralCase="'other'">...</ng-container> * <ng-container *ngPluralCase="'=0'">...</ng-container>
* </some-element> * <ng-container *ngPluralCase="'other'">...</ng-container>
* </some-element>
*```
* *
* See {@link NgPlural} for more details and example. * See {@link NgPlural} for more details and example.
* *

View File

@ -162,10 +162,11 @@ export class NgSwitch {
* expression. * expression.
* *
* @howToUse * @howToUse
* <container-element [ngSwitch]="switch_expression"> * ```
* <some-element *ngSwitchCase="match_expression_1">...</some-element> * <container-element [ngSwitch]="switch_expression">
* </container-element> * <some-element *ngSwitchCase="match_expression_1">...</some-element>
* * </container-element>
*```
* @description * @description
* *
* Insert the sub-tree when the expression evaluates to the same value as the enclosing switch * Insert the sub-tree when the expression evaluates to the same value as the enclosing switch
@ -207,10 +208,12 @@ export class NgSwitchCase {
* switch expression. * switch expression.
* *
* @howToUse * @howToUse
* <container-element [ngSwitch]="switch_expression"> * ```
* <some-element *ngSwitchCase="match_expression_1">...</some-element> * <container-element [ngSwitch]="switch_expression">
* <some-other-element *ngSwitchDefault>...</some-other-element> * <some-element *ngSwitchCase="match_expression_1">...</some-element>
* </container-element> * <some-other-element *ngSwitchDefault>...</some-other-element>
* </container-element>
* ```
* *
* @description * @description
* *