Skip to content

Instantly share code, notes, and snippets.

@scottopolis
Created May 18, 2017 21:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save scottopolis/71aa8ae2f7138eeabc598cffc81084ca to your computer and use it in GitHub Desktop.
Save scottopolis/71aa8ae2f7138eeabc598cffc81084ca to your computer and use it in GitHub Desktop.
AP3 Custom Homepage Code
<!-- This will display side menu links. If you are using a tab menu, change pages.menus.items on line 4 to pages.tab_menu.items -->
<ion-grid>
<ion-row>
<ion-col col-6 *ngFor="let p of pages.menus.items" [ngClass]="p.extra_classes">
<ion-card (click)="pushPage(p)" class="menu-card">
<div class="card-title"><ion-icon *ngIf="p.class" name="{{p.class}}"></ion-icon></div>
<div class="card-subtitle">{{p.title}}</div>
</ion-card>
</ion-col>
</ion-row>
</ion-grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment