Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 85c31e0

Browse files
committed
docs(ngSwitch): improve the @Usage example
1 parent c2e215f commit 85c31e0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ng/directive/ngSwitch.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
* ngSwitchWhen or ngSwitchDefault directives will be preserved at the location
1111
* as specified in the template
1212
*
13-
* @usageContent
14-
* <ANY ng-switch-when="matchValue1">...</ANY>
13+
* @usage
14+
* <ANY ng-switch="expression">
15+
* <ANY ng-switch-when="matchValue1">...</ANY>
1516
* <ANY ng-switch-when="matchValue2">...</ANY>
1617
* ...
1718
* <ANY ng-switch-default>...</ANY>
18-
* <ANY>...</ANY>
19+
* </ANY>
1920
*
2021
* @scope
2122
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.

0 commit comments

Comments
 (0)