How do i create sub menus in menu toggle?


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


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


<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 style="background-color: #1e282c">
        <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>


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