W3cubDocs

/Angular

QueryParamsHandling

type-alias

How to handle query parameters in a router link. One of:

  • "merge" : Merge new parameters with current parameters.
  • "preserve" : Preserve current parameters.
  • "" : Replace current parameters with new parameters. This is the default behavior.
type QueryParamsHandling = 'merge' | 'preserve' | '';

See also

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/router/QueryParamsHandling