Answers for "router navigate ionic"

1

router navigate ionic

<ion-header>
  <ion-toolbar>
    <ion-title>Login</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content class="ion-padding">
  <ion-button [routerLink]="['/detail']">Go to detail</ion-button>
</ion-content>
Posted by: Guest on September-20-2020
2

ionic route navigation

// just like angular
<button [routerLink]="['/detail']">click</button>
Posted by: Guest on August-20-2020
0

router navigate ionic

RouterModule.forRoot([
  { path: '', component: LoginComponent },
  { path: 'detail', component: DetailComponent }
]);
Posted by: Guest on September-20-2020

Browse Popular Code Answers by Language