mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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:
parent
7391143dd3
commit
34890fb901
1 changed files with 3 additions and 2 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in a new issue