I used Angular Material to create a md-list
on the side-nav
. I am looking to add a sub list under the md-list-item
. Below is my code snippet:
<md-sidenav id="sideNav" md-component-id="left" class="md-sidenav-left md-whiteframe-z1 md-locked-open " layout="column" md-disable-backdrop >
<md-content>
<md-list>
<md-list-item md-ink-ripple >
<i class="material-icons">dashboard</i><div>Dashboard</div>
</md-list-item >
</md-list>
</div>
</div>
</md-content>
</md-sidenav>
My goal is to include two sub-lists once the Dashboard button is clicked. Is this achievable with Angular Material? Any assistance would be greatly appreciated.