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
1 changed files with 1 additions and 3 deletions

View File

@ -36,9 +36,7 @@ export class SwitchView {
/**
* @ngModule CommonModule
*
* @description A structural directive that adds or removes templates (displaying or hiding views)
* when the next match expression matches the switch expression.
*
* @description
* 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.
* - Every view that matches is rendered.