tns-template-master-detail-progress-ng
Version:
Master-detail interface to display tables from a Progress backend and inspect and edit selected records.
20 lines (16 loc) • 843 B
text/typescript
import { NgModule } from "@angular/core";
import { Routes } from "@angular/router";
import { NativeScriptRouterModule } from "nativescript-angular/router";
import { CustomerDetailEditComponent } from "./customer-detail-edit/customer-detail-edit.component";
import { CustomerDetailComponent } from "./customer-detail/customer-detail.component";
import { CustomerListComponent } from "./customer-list/customer-list.component";
const routes: Routes = [
{ path: "", component: CustomerListComponent },
{ path: "customer-detail/:id", component: CustomerDetailComponent },
{ path: "customer-detail-edit/:id/:addMode", component: CustomerDetailEditComponent }
];
export class CustomersRoutingModule { }