mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 23:34:42 +00:00
docs(ngSwitch): improve the @usage example
This commit is contained in:
parent
9497757842
commit
10ae76673c
1 changed files with 4 additions and 2 deletions
|
|
@ -8,11 +8,13 @@
|
||||||
* @description
|
* @description
|
||||||
* Conditionally change the DOM structure.
|
* Conditionally change the DOM structure.
|
||||||
*
|
*
|
||||||
* @usageContent
|
* @usage
|
||||||
* <ANY ng-switch-when="matchValue1">...</ANY>
|
* <ANY ng-switch="expression">
|
||||||
|
* <ANY ng-switch-when="matchValue1">...</ANY>
|
||||||
* <ANY ng-switch-when="matchValue2">...</ANY>
|
* <ANY ng-switch-when="matchValue2">...</ANY>
|
||||||
* ...
|
* ...
|
||||||
* <ANY ng-switch-default>...</ANY>
|
* <ANY ng-switch-default>...</ANY>
|
||||||
|
* </ANY>
|
||||||
*
|
*
|
||||||
* @scope
|
* @scope
|
||||||
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
|
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue