Is it possible to change a single route parameter in the current route, while keeping all the other parameters? This is for use in a paging component, which will route to a new
use if statement or switch case to push parameters
if(yourchild == child1){
params = {
parameter1: parameter1,
parameter2: parameter2,
}
} else (yourchild == child2){
params = {
parameter1: parameter1,
parameter2: parameter2,
parameter3: parameter3
}
}
this.router.navigate([`/yourparent/${yourchild}`], { queryParams: params });