QueryParamsHandling • Angular

@angular/router

Type Alias

stable

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

  • "merge" : Merge new parameters with current parameters.
  • "preserve" : Preserve current parameters.
  • "replace" : Replace current parameters with new parameters. This is the default behavior.
  • "" : For legacy reasons, the same as 'replace'.

API

    
      type QueryParamsHandling = 'merge' | 'preserve' | 'replace' | ''