mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-10 10:01:00 +00:00
docs(ngSwitch): improve the @usage example
This commit is contained in:
parent
c2e215fab6
commit
85c31e0688
1 changed files with 4 additions and 3 deletions
|
|
@ -10,12 +10,13 @@
|
|||
* ngSwitchWhen or ngSwitchDefault directives will be preserved at the location
|
||||
* as specified in the template
|
||||
*
|
||||
* @usageContent
|
||||
* <ANY ng-switch-when="matchValue1">...</ANY>
|
||||
* @usage
|
||||
* <ANY ng-switch="expression">
|
||||
* <ANY ng-switch-when="matchValue1">...</ANY>
|
||||
* <ANY ng-switch-when="matchValue2">...</ANY>
|
||||
* ...
|
||||
* <ANY ng-switch-default>...</ANY>
|
||||
* <ANY>...</ANY>
|
||||
* </ANY>
|
||||
*
|
||||
* @scope
|
||||
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
|
||||
|
|
|
|||
Loading…
Reference in a new issue