Navigation (Front End)


#1

This is my first usage of Ionic 2. I totally get how navigation controller works, but there is no documentation on how this is called or referenced on the frontend. Can someone show me a simple example of how I could push a page from an ion-card? or a button? in the frontend


#2

https://ionicframework.com/docs/api/navigation/NavController/
https://ionicframework.com/docs/api/components/nav/NavPush/

<button ion-button [navPush]="'page Name'">Go</button> for lazy loading and

<button ion-button [navPush]="pageReferenceVar">Go</button> when you are referencing your page in code with a variable.