-
-
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
Could someone pls create stackblitz to understand how to use breadcrumb service? #89
Comments
👋 @suriyaJaay |
@suriyaJaay can you refer to the documentation. You have multiple options to update id with actual name https://github.com/udayvunnam/xng-breadcrumb#using-route-path-to-update-labels-dynamically In this repo you have multiple apps that showcase the usage under For your use case you can refer to xng-breadcrumb/apps/breadcrumb-demo/src/app/mentor/mentor-details/mentor-details.component.ts Line 30 in 8a57f89
|
@suriyaJaay you can refer to the above docs also please check the multiple demo apps under libs for usage. Let me know if you still see any issues. |
I just again doing the same implementation long back. As i said before. i followed as per the document and even copy pasted the code. but i couldn't bind the name as per the screenshot buddy you could see, i can able get firstname from response and the passing the same to breadCrumb service. below is the template im using in appComponent.html
if you not mind kindly share some stackblitz example for my understanding. even though i'm passing value like
am getting like below attachment Thank you :) |
@suriyaJaay I guess you haven't used If the issue still persists, can you please provide a reusable example from https://stackblitz.com/edit/angular-xng-breadcrumbs |
Hi @udayvunnam i just resuming xng-breadcrump integration once again. Here am stuck at one point. so need your help I'll try to explain as much as possible. to make it clear pls refer below screenshot problem i cant show Order Dashboard breadcrumb when navigating to order dashboard to online or offline orders
Order List > Online Orders
Order List > Order Dashboard > Online orders Because of current behavior im not able to go back to order dashboard. Could you pls help me to understand what i am exactly missing ? apologize for not adding stackblitz, for some reason I can't access the stackblitz or sandbox.
Thanks for your time |
Hi,
I'm trying to show bread crumb like below
I'm trying to bind the bread crumb value from api call via
activated.snapshot
Bit struggling to understand
xng-breadcrumb service
. So need helpUpdate
finally understood how to use breadcrumb service, but still not able to achieve what im looking for
I've done like below
this.breadcrumbService.set(this.actRoute.snapshot.data.breadcrumb, resp.firstName);
I'm able to get expected string in
this.actRoute.snapshot.data.breadcrumb
and as well asresp.firstName
as per the attachment .But still not able to show like
Users > View User > John
PFA,
![breadcrum service](https://user-images.githubusercontent.com/19813670/135265201-7d1c07db-7295-4634-9b2c-a477565be9aa.jpg)
Thanks
The text was updated successfully, but these errors were encountered: