html - Display a 'Close menu' button at the bottom of an Angular 2 md-sidenav -
i have angular 2
app has md-sidenav
, want display 'close menu' button @ bottom of list not sure on how go md-list-items
can added/removed button need @ bottom have no idea how go this
html
<md-nav-list class="side-menu"> <md-list-item routerlink="" [ngclass]="generateclass('')" name="home"> <md-icon md-list-icon>home</md-icon> <h4>home</h4> </md-list-item> <md-list-item routerlink="contact-us" [ngclass]="generateclass('contact-us')" name="contactus"> <md-icon md-list-icon>phone</md-icon> <h4>contact us</h4> </md-list-item> <md-list-item (click)="logout()" name="logout"> <md-icon md-list-icon>exit_to_app</md-icon> <h4>logout</h4> </md-list-item> <md-list-item name="closemenu"> <md-icon md-list-icon>close</md-icon> <h4>close menu</h4> </md-list-item> </md-nav-list>
Comments
Post a Comment