This is a quick tip on Oracle JET Router configurations. There are a couple of ways through which we can pass parameters while navigating using ojet Router.
1) You can set some global parameters while setting up the router configuration. This parameter is available on the static Router.rootInstance object.
This value can be accessed via the Router’s rootInstance’s current-state.
Using this value I can set the default tab whenever I enter a module.
2) The second option is to set a dynamic value while programmatically navigating to a module using ojet router. We use the store() method to set a parameter, and the retrieve() method to fetch it. The router param gets written to the URL to let you have a bookmark. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.