I already went through link: How to get param from url in angular 4? and trying to follow the same approach.
I am using Angular 7 and my current URL: http://localhost:4200/student-details/488
When I clicked on different Side Pane link, I want to get the value 488 and pass that value to other component.
I used below in ngOnit() where my page is routing to.
this.route.paramMap.subscribe(params => {
console.log('params', params);
});