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-07 14:06:00 +02:00 committed by Alex Rickabaugh
parent 7391143dd3
commit 34890fb901

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`