-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically add an item into breadcrumb #120
Comments
Hello 👋 @curiousThinker |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Currently the breadcrumb is generated based on route.
If my modules are on the same hierachy, is it possible to display them together in the breadcrumb ?
E.g.
{
path: "",
loadChildren: () => import('@modules/home/home.module').then(mod => mod.HomeModule),
data:{ breadcrumb:'home'}
},
{
path: "family",
loadChildren: () => import('@modules/family/family.module').then(mod => mod.FamilyModule),
data:{ breadcrumb:'family'}
},
{
path: "friend",
loadChildren: () => import('@modules/friend/friend.module').then(mod => mod.FriendModule),
data:{ breadcrumb:'friend'}
},
For components within familyModule, the breadcrumb will be:
family / familyComponent.
But is it possible to make the breadcrumb to be something like this ?
home / family / familyComponent
On the other hand, this need to be configurable as my friendComponent breadcrumb would like to remain as:
friend / friendComponent
The text was updated successfully, but these errors were encountered: