0
I made a menu using the Sidenav of Angular Material Design in this way:
<mat-sidenav-container class="sidenav-container">
<mat-sidenav #drawer class="sidenav" fixedInViewport="true" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigation'" [mode]="(isHandset$ | async) ? 'over' : 'side'" [opened]="!(isHandset$ | async)">
<mat-toolbar>Menu</mat-toolbar>
<mat-nav-list>
<a mat-list-item href="#">Clubes</a>
<a mat-list-item href="#">Gestores de Clubes</a>
<a mat-list-item href="#">Agentes</a>
<a mat-list-item href="#">Jogadores</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
<mat-toolbar color="primary">
<button type="button" aria-label="Toggle sidenav" mat-icon-button (click)="drawer.toggle()" *ngIf="isHandset$ | async">
<mat-icon aria-label="Side nav toggle icon">menu</mat-icon>
</button>
<span>Painel Administrativo</span>
</mat-toolbar>
<ng-content></ng-content>
</mat-sidenav-content>
</mat-sidenav-container>
Thus remaining:
I wanted to make a menu, using Navbar with Sub-Items and separation. I’ve been searching and found nothing. Is it possible to do or give another suggestion?
Thank you.