docs(NgSwitch): fix typo ngSwitch to NgSwitch (#10143)
This commit is contained in:
parent
1803ed2512
commit
32d8cde9c6
|
@ -28,7 +28,7 @@ export class SwitchView {
|
||||||
/**
|
/**
|
||||||
* Adds or removes DOM sub-trees when their match expressions match the switch expression.
|
* Adds or removes DOM sub-trees when their match expressions match the switch expression.
|
||||||
*
|
*
|
||||||
* Elements within `NgSwitch` but without `ngSwitchCase` or `NgSwitchDefault` directives will be
|
* Elements within `NgSwitch` but without `NgSwitchCase` or `NgSwitchDefault` directives will be
|
||||||
* preserved at the location as specified in the template.
|
* preserved at the location as specified in the template.
|
||||||
*
|
*
|
||||||
* `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
|
||||||
|
@ -68,7 +68,7 @@ export class SwitchView {
|
||||||
* <template ngSwitchDefault>> 2, STOP!</template>
|
* <template ngSwitchDefault>> 2, STOP!</template>
|
||||||
* </p>
|
* </p>
|
||||||
* `,
|
* `,
|
||||||
* directives: [NgSwitch, ngSwitchCase, NgSwitchDefault]
|
* directives: [NgSwitch, NgSwitchCase, NgSwitchDefault]
|
||||||
* })
|
* })
|
||||||
* export class App {
|
* export class App {
|
||||||
* value = 'init';
|
* value = 'init';
|
||||||
|
|
Loading…
Reference in New Issue