Navigation to invoke function per a specific route #3019
-
Is it possible in Luigi Framework to specify a routing that will call a JavaScript function when the user invoked the routing? One of the things I am trying to do is to hide the top and side navigations of the MFE shell if the user visited a particular URL path. It would be nice if this can be done by calling a function that will change this config:
to set hideNavigation to true before loading the path to make the MFE architecture vertically split on runtime. I tried various means of doing this (calling function when user invoked a routing) but I was unable to do. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello,
|
Beta Was this translation helpful? Give feedback.
Hello,
yes, it is possible. You can use the property nodeChangeHook.
It gets two parameters: