docs: correct ngSwitch definition (#35489)

PR Close #35489
This commit is contained in:
Santosh Yadav 2020-04-22 13:27:01 +05:30 committed by Andrew Kushnir
parent 152293d3cf
commit e5d2853070

View File

@ -36,9 +36,7 @@ export class SwitchView {
/** /**
* @ngModule CommonModule * @ngModule CommonModule
* *
* @description A structural directive that adds or removes templates (displaying or hiding views) * @description
* when the next match expression matches the switch expression.
*
* The `[ngSwitch]` directive on a container specifies an expression to match against. * The `[ngSwitch]` directive on a container specifies an expression to match against.
* The expressions to match are provided by `ngSwitchCase` directives on views within the container. * The expressions to match are provided by `ngSwitchCase` directives on views within the container.
* - Every view that matches is rendered. * - Every view that matches is rendered.