angular 8 route url how to get code example
Example: angular get route url
this.router.events
.pipe(filter( event => event instanceof NavigationEnd))
.subscribe(event => {
this.router.navigate(['/tabs']);
}
});
this.router.events
.pipe(filter( event => event instanceof NavigationEnd))
.subscribe(event => {
this.router.navigate(['/tabs']);
}
});