I have used the below code to create the toolbar and menu using angular material 7. I have a requirement to create a mega menu in angular material.
<mat-toolbar color="primary" class="example-toolbar">
<mat-toolbar-row style="height: 28px !important;">
<div class="div-center">
<button mat-flat-button color="primary" [matMenuTriggerFor]="menu">
<mat-icon>directions_car</mat-icon>
Cars
</button>
<mat-menu #menu="matMenu">
<button mat-menu-item>Item 1</button>
<button mat-menu-item>Item 2</button>
</mat-menu>
</div>
</mat-toolbar-row>
</mat-toolbar>
I am looking for a mega menu createing like this https://mdbootstrap.com/docs/jquery/navigation/mega-menu/
Can anyone know how can I create the mega menu like above.