Created
February 25, 2017 22:37
-
-
Save chrisgriffith/a27cf2b030b059e8e8036d2575809133 to your computer and use it in GitHub Desktop.
Ionic Split Panel: Basic Layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-split-panel> | |
<ion-menu [content]="content" when="xs"> | |
<ion-header> | |
<ion-toolbar> | |
<ion-title>Menu</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<ion-list> | |
<button menuClose ion-item *ngFor="let p of pages" | |
(click)="openPage(p)"> | |
{{p.title}} | |
</button> | |
</ion-list> | |
</ion-content> | |
</ion-menu> | |
<ion-nav main [root]="rootPage" #content swipeBackEnabled="false"></ion-nav> | |
</ion-split-panel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment