angulartabbedpage

How do I toggle between a tabbed page and an untabbed page in angular?


I have a tab page that has a link on it. When the link is clicked, it goes to an untabbed details page. But there is a button on the details page that goes back to the tabbed page. The problem is, the tabbed page don't disappear when going to the details page (the tabbed page is covering the details page). How do i hide the tabbed page when i got to the details page, but show the show the tabbed page when i left the details page?


Solution

  • you can use Angular's routing capabilities along with conditional rendering to show or hide the tabbed page based on the current route.