docs(router): Complete QueryParamsHandling documentation (#46286)

`QueryParamsHandling` has a third possibility which is the default behavior,
and it was not documented until now.

PR Close #46286
This commit is contained in:
Adrien Crivelli
2022-06-08 12:40:56 -07:00
committed by Alex Rickabaugh
parent 7391143dd3
commit 34890fb901
+3 -2
View File
@@ -131,8 +131,9 @@ export type LoadChildren = LoadChildrenCallback;
*
* How to handle query parameters in a router link.
* One of:
* - `merge` : Merge new with current parameters.
* - `preserve` : Preserve current parameters.
* - `"merge"` : Merge new parameters with current parameters.
* - `"preserve"` : Preserve current parameters.
* - `""` : Replace current parameters with new parameters. This is the default behavior.
*
* @see `UrlCreationOptions#queryParamsHandling`
* @see `RouterLink`