Is it possible to have options in nodes as there is for ContextSwitcher ? #2952
Replies: 1 comment
-
Hi @luddwskater
If I get this right you want to be able to add multiple ContextSwitcher-like dropdowns or similar items at the top navigation bar for more advances scenarios. This cannot be achieved with a simple Luigi Configuration change as the top navigation elements are fixed to a specific navigation bar design that we adhere to.
If I understand this correctly, you are trying to have an event in a microfrontend affect let's say the Context Switcher elements only. I would say such a scenario should be possible through using one or a combination of the Luigi Core API calls like : Luigi.setConfig(), Luigi.getConfig() and/or Luigi.configChanged() to change the Context Switcher configurations. However a microfrontend is not allowed to inflict a direct change to the Luigi configuration for obvious safety reasons. Instead you can communicate a message request from the client microfrontend to the core and handle the Context Switcher config change on the core side. Have a look at the Client->Core communcation here
and in the client microfrontend you would have something like this:
Let us know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
-
I need more advanced navigation as:
Have you an idea how to get this ?
Beta Was this translation helpful? Give feedback.
All reactions