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:
Ajit Singh 2020-06-15 20:23:50 +05:30 committed by Misko Hevery
parent ceca5dded5
commit 1185aa07a3
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ import {UrlTree} from '../url_tree';
* link to user component
* </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
* directive to preserve the current query params and fragment: