• Overview
@angular/router

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" : Replace current parameters with new parameters. This is the default behavior.
  • "" : For legacy reasons, the same as 'replace'.
  
    type QueryParamsHandling = 'merge' | 'preserve' | 'replace' | ''
  
  
Jump to details