Skip to content

Commit 516aebe

Browse files
authored
Merge pull request #18 from leifwells/missing-menu
Added code that makes the menu appear
2 parents b099289 + a1601f6 commit 516aebe

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/app/app.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
<ion-nav [root]="rootPage"></ion-nav>
1+
<ion-menu [content]="content">
2+
<ion-header>
3+
<ion-toolbar>
4+
<ion-title>Menu</ion-title>
5+
</ion-toolbar>
6+
</ion-header>
7+
8+
<ion-content>
9+
<ion-list>
10+
<button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
11+
{{p.title}}
12+
</button>
13+
</ion-list>
14+
</ion-content>
15+
16+
</ion-menu>
17+
18+
<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>

0 commit comments

Comments
 (0)