Comments (11)
Hello 👋 @AndriesN
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue. Check the local development guide
from xng-breadcrumb.
I also want this feature.
Basically, the requirement is that some elements exist on a path without a parent component, but logically are part of a parent component.
Example
Home > Quiz > Quiz 1 > Session > Session 1
I want breadcrumb like this, but the actual path to Session 1
is
{
path: '/quiz/session',
data: {breadcrumb: {alias: 'quizName'}}
children: [
{
path: ':id',
component: SessionComponent,
data: {breadcrumb: {alias: 'sessionName'}}
}
]
}
Now with this path, I can only set the breadcrumb to the :id
path and cannot set the Quiz > Quiz 1
in the breadcrumb.
If support to add multiple breadcrumbs is given, it can be something like
this.breadcrumbService.add([['/quiz', 'Quiz'], ['@quizName', this.getQuizName()], ['/quiz/session', 'Session'], ['@sessionName', this.getSessionName()]);
from xng-breadcrumb.
I want this functionality too
from xng-breadcrumb.
@AndriesN @gabrielbergoc Can you confirm the below understanding of the requirement
Instead of
breadcrumbService.set('mentors', 'Mentor View');
breadcrumbService.set('mentor/:id', 'Uday Vunnam');
we want
breadcrumbService.add('mentors', 'Mentor View').add('mentor/:id', 'Uday Vunnam')
to make it easy to define the dynamic breadcrumbs?
from xng-breadcrumb.
That would work for me!
But maybe add the "add" method, not replace "set"? I don't know if it's possible...
Like, the current interface and behavior remain unchanged, but at page "x" I may want to add, besides "x", "y" and "z", so that they remain in the breadcrumbs if I navigate further, and when I navigate backwards, only "x > y > z" are removed.
And maybe another methods like "remove", "has", etc.
from xng-breadcrumb.
Yes, that would be great!
from xng-breadcrumb.
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.
from xng-breadcrumb.
not stale
from xng-breadcrumb.
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.
from xng-breadcrumb.
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.
from xng-breadcrumb.
Any update on this?
from xng-breadcrumb.
Related Issues (20)
- Need docs! HOT 2
- xng-breadcrumb not working in Angular Ionic HOT 2
- Hiding the breadcrumbs with one level only HOT 3
- Breadcrumb doesn't work on routes using `matcher` HOT 5
- Property '"autoGenerate"' is incompatible with index signature. HOT 3
- Double rendering with provideClientHydratation Angular 16 HOT 4
- Customizing breadcrumb HOT 3
- Breadcrumb Links Not Working HOT 4
- Breadcrumb labels no longer working with loadChildren HOT 5
- Duplicate breadcrumbs on Angular 17 HOT 6
- Support for Angular 17 HOT 16
- Typo in Dynamic breadcrumbs example HOT 1
- Custom aria-label for accessibility in other languages HOT 2
- Breadcrumb temporarily disappears during resolver data loading HOT 2
- Angular 17: Module '"xng-breadcrumb"' has no exported member 'BreadcrumbModule'. HOT 10
- Breadcrumb displays ** when same component is navigated reclusively using route config - path: '**'. Breadcrumb on UI doesn't update event after using breadcrumbService.set('@alias', 'updated Value') HOT 2
- Add support for Angular v18 HOT 2
- Breadcrumb is not shown for routes that use matcher instead of path
- Angular 18 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xng-breadcrumb.