docs: wrong example in routerLink (#37590)
In routerLink if a fragment is added than fragment example shows that it is added before the params '/user/bob#education?debug=true' but actually they are added after that '/user/bob?debug=true#education' changed documentation to show correct example Fixes #18630 PR Close #37590
This commit is contained in:
parent
ceca5dded5
commit
1185aa07a3
|
@ -52,7 +52,7 @@ import {UrlTree} from '../url_tree';
|
||||||
* link to user component
|
* link to user component
|
||||||
* </a>
|
* </a>
|
||||||
* ```
|
* ```
|
||||||
* RouterLink will use these to generate this link: `/user/bob#education?debug=true`.
|
* RouterLink will use these to generate this link: `/user/bob?debug=true#education`.
|
||||||
*
|
*
|
||||||
* (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the
|
* (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the
|
||||||
* directive to preserve the current query params and fragment:
|
* directive to preserve the current query params and fragment:
|
||||||
|
|
Loading…
Reference in New Issue