Skip to content

Commit d2ef512

Browse files
committed
docs: move usage notes for ngswitch
1 parent 2da6af5 commit d2ef512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/common/src/directives/ng_switch.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ export class SwitchView {
4949
* - Elements within the `[NgSwitch]` statement but outside of any `[NgSwitchCase]`
5050
* or `[ngSwitchDefault]` directive are preserved at the location in the DOM.
5151
*
52-
* @see `NgSwitchCase`
53-
* @see `NgSwitchDefault`
54-
*
5552
* @UsageNotes
5653
* Define a container element for the directive, and specify the switch expression
5754
* to match against as an attribute:
@@ -101,6 +98,9 @@ export class SwitchView {
10198
* </container-element>
10299
* ```
103100
*
101+
* @see `NgSwitchCase`
102+
* @see `NgSwitchDefault`
103+
*
104104
*/
105105
@Directive({selector: '[ngSwitch]'})
106106
export class NgSwitch {

0 commit comments

Comments
 (0)