Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- 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