Skip to content

Instantly share code, notes, and snippets.

@chrisgriffith
Created March 22, 2017 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisgriffith/2019aca39fe111bdfa82194375f04d75 to your computer and use it in GitHub Desktop.
Save chrisgriffith/2019aca39fe111bdfa82194375f04d75 to your computer and use it in GitHub Desktop.
IONIC SPLIT PANE
<ion-split-pane>
<ion-menu [content]="content">
<ion-header>
<ion-toolbar>
<ion-title>{{title}}</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<ion-item detail-push *ngFor="let project of projects" (click)="projectSelected(project)">
{{ project.name }}
</ion-item>
</ion-list>
</ion-content>
</ion-menu>
<!-- main navigation -->
<ion-nav [root]="rootPage" #content swipeBackEnabled="false" main></ion-nav>
</ion-split-pane>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment