TechieHints SOFTWARE

How to disable same page routing on url change in angular 4/5/6 ?

Steps:
1. Disable same page redirection
this._router.onSameUrlNavigation=”ignore”;
2. Change param for the requested page.
this._router.navigateByUrl(this._router.url+”;step-no=”+ (step+1))

Leave a comment