Comments (7)
@oscargong We couldn't understand the problem and the use case. Do you think you can elaborate more?
from fundamental-ngx.
Hi @droshev
I made a stackblitz example:
https://stackblitz.com/edit/e2njgi?file=src%2Fapp%2Fbreadcrumb-routerLink-example.component.html
Also a screen recording:
Oscar.ScreenCapture.2024-04-04.at.09.28.mp4
I have a (click)
event bind to the <a>
inside the fd-breadcrumb-item
. But this click event will only be trigger when the item is not folded into the menu.
I added a example to the doc will also be helpful to understand the issue we met:
https://deploy-preview-11686--fundamental-ngx.netlify.app/#/core/breadcrumb#proxy-link
Thanks
Oscar
from fundamental-ngx.
Hi @droshev
I made a stackblitz example:
https://stackblitz.com/edit/e2njgi?file=src%2Fapp%2Fbreadcrumb-routerLink-example.component.html
Also a screen recording:
Oscar.ScreenCapture.2024-04-04.at.09.28.mp4
I have a(click)
event bind to the<a>
inside thefd-breadcrumb-item
. But this click event will only be trigger when the item is not folded into the menu.I added a example to the doc will also be helpful to understand the issue we met: https://deploy-preview-11686--fundamental-ngx.netlify.app/#/core/breadcrumb#proxy-link
Thanks Oscar
Why can't you use route Guards ?
from fundamental-ngx.
Hi @droshev
I made a stackblitz example:
stackblitz.com/edit/e2njgi?file=src%2Fapp%2Fbreadcrumb-routerLink-example.component.html
Also a screen recording:
Oscar.ScreenCapture.2024-04-04.at.09.28.mp4
I have a(click)
event bind to the<a>
inside thefd-breadcrumb-item
. But this click event will only be trigger when the item is not folded into the menu.
I added a example to the doc will also be helpful to understand the issue we met: deploy-preview-11686--fundamental-ngx.netlify.app/#/core/breadcrumb#proxy-link
Thanks OscarWhy can't you use route Guards ?
Route Guards is not enough. Here, when click on a table tree node, we recreate the table source. Breadcrumb is used to indicate the table tree node hierarchy, not route.
Oscar.ScreenCapture.2024-04-05.at.16.09.mp4
from fundamental-ngx.
Breadcrumb is used to indicate the table tree node hierarchy, not route.
@oscargong are you using the breadcrumb to manipulate the tree? It doesn't seem correct usage of it.
from fundamental-ngx.
Breadcrumb is used to indicate the table tree node hierarchy, not route.
@oscargong are you using the breadcrumb to manipulate the tree? It doesn't seem correct usage of it.
We are using the breadcrumb to show the hierarchy of the table.
I think this is fine use case as guideline:
from fundamental-ngx.
Could we have an EventEmitter similar to the item-click
event in UI5-WebComponent?
https://sap.github.io/ui5-webcomponents/components/BreadcrumbsItem/
from fundamental-ngx.
Related Issues (20)
- [P2][Sourcing] Unable to select multiple users if using search in approval flow HOT 1
- [BUG] Sorting and filtering dialogs for Table fundamental-ngx/platform component can be opened multiple times one on top of the other HOT 2
- [Feature Request] Property for saving scroll position when using GrowingButton that works with outerScroll HOT 1
- Combobox - Reactive form not working properly with [communicateObject] HOT 2
- "Send" button is truncated for some locales in conversation messages HOT 2
- Dynamic page is scrollable when in a smaller container HOT 2
- Hardcoded tooltip "navigation-down-arrow" HOT 3
- [P2][Sourcing][Multi combobox checkbox][Functional]: When user exactly clicks on checkbox after searching then the searched text doesn't get cleared HOT 1
- Observable Async - Multi Input field value is not displayed properly HOT 1
- Refused to execute inline event handler because it violates the following Content Security Policy directive: "default-src 'self'"... HOT 7
- Icon Tab Bar overflowing tabs are hidden when using fdpIconTabBarFreeContent
- [Icons] Downport AI-related icons to 0.43.x HOT 2
- Support for Font Family in Product Switch
- Platform table, resizable columns - provide minimum width input HOT 2
- Virtual scroll whole rows [attr.title] performance issue HOT 3
- Message Strip Alerts aren't showing. HOT 1
- Bug when accepting autosuggestions for combobox HOT 1
- [P2][Sourcing] `scrollWholeRows`: Unable to fetch next page of rows if expand and collapse one row
- [P2][Sourcing] `scrollWholeRows`: `bodyHeight` is not working as desired
- [P2][Sourcing] `scrollWholeRows`: parent scrollbar gets affected when table scrollbar hits bottom HOT 1
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 fundamental-ngx.