-
Notifications
You must be signed in to change notification settings - Fork 561
Breadcrumb Configuration
Abhay Chawla edited this page Jul 27, 2018
·
2 revisions
-
Navigate to the required routing module module-name-routing.module.ts.
-
Breadcrumbs can be configured using the
data
property with the routing configuration.
There are four properties available:
- breadcrumb - to add a static string as breadcrumb Eg: 'Home'
- routeParamBreadcrumb - to use a parameter from route URL as breadcrumb Eg: ':id'
- routeResolveBreadcrumb - to use a value from route resolved data (before navigation) as breadcrumb Eg: 'username'
-
addBreadcrumbLink - true by default, set
addBreadcrumbLink: false
to prevent adding a link to the breadcrumb
const routes: Routes = [
Route.withShell([
{
path: 'path-name',
component: ComponentName,
data: { title: extract('Title'), breadcrumb: 'BreadcrumbName' },
children: [
{...}
]
}
])
];
For reference, please look at:
self-service/self-service-routing.module.ts
accounting/accounting-routing.module.ts
Stable Community App Demo: https://demo.mifos.io/
Latest Community App Development: https://dev.mifos.io/
Latest Community App Staging: https://staging.mifos.io/
Community App Documentation Manual: https://mifosforge.jira.com/wiki/spaces/docs/pages/52035622/User+Manual
API Documentation: https://demo.mifos.io/api-docs/apiLive.htm
Demo Credentials:
Username: mifos
Password: password