I've created a new feature within a component that includes a toolbar with multiple buttons. Is there a way to customize these buttons for different pages where the component is used?
Component name
<app-toolbar></app-toolbar>
Component.html
<nav class="navbar">
<ul class="nav">
<li class="nav-item btn-upload" routerLinkActive="active" [routerLink]="['/upload']">
<a class="Mais">
<img src="assets/mais.svg" />
</a>
Upload Files
</li>
</ul>
</nav>
As an example, is it possible to hide the "Upload Files" button and display a different button when this component is on another page, such as the /home page?