How do i create sub menus in menu toggle?


#1

I create menu toggle in list and also add sub menu in this list


#2

I am afraid your question is not clear, please share your code and describe your problem in more detail.


#3

<ion-menu [content]=“content”>

<ion-toolbar color="primary">

 <ion-title> Adaptive</ion-title>
       <ion-list-header style="background-color: #1e282c;height: 30px;" >
  <ion-icon name="speedometer" style="padding-top: 20px"></ion-icon>  &nbsp;Dashboard
  </ion-list-header>
    <ion-list style="background-color: #1e282c">
     <hr/>
        <button style="background-color: #1e282c" ion-item *ngFor="let p of pages" (click)="openPage(p)">
                <ion-icon item-left [name]="p.icon"></ion-icon>{{p.title}}</button>
    </ion-list>


</ion-content>

this is my code can i add sub menu from this parent menu