Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ion-segment [(ngModel)]="segment" color="primary">
- <ion-segment-button value="Home" (click)="page_redirect('HomePage')" text-center> Home </ion-segment-button>
- <ion-segment-button value="Featured" (click)="page_redirect('FeaturedItemPage')" text-center> Featured </ion-segment-button>
- <ion-segment-button value="Category" (click)="page_redirect('CategoriesPage')" text-center> Category </ion-segment-button>
- <ion-segment-button value="User" user text-center> User </ion-segment-button>
- </ion-segment>
- page_redirect(page){
- this.navCtrl.push(page);
- }
Add Comment
Please, Sign In to add comment