Skip to content

Instantly share code, notes, and snippets.

@hamzahjamad
Created November 26, 2017 07:23
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 hamzahjamad/3a7d9cc8c411a529fc35547c8d9d6331 to your computer and use it in GitHub Desktop.
Save hamzahjamad/3a7d9cc8c411a529fc35547c8d9d6331 to your computer and use it in GitHub Desktop.
<!-- custom-component-lazyload\src\pages\home\home.html -->
<ion-header>
<ion-navbar>
<button ion-button icon-only start menuToggle><ion-icon name="menu"></ion-icon></button>
<ion-title>Home</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<!-- we add our app-name component here -->
<app-name></app-name>
<h3>Ionic Menu Starter</h3>
<p>
If you get lost, the <a href="http://ionicframework.com/docs/v2">docs</a> will show you the way.
</p>
<button ion-button secondary menuToggle>Toggle Menu</button>
<p>
By using lazy loading, you didnt have to import the page on the Typscript file
</p>
<button ion-button secondary (click)="goToListPage()">Go To Page List</button>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment