You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in the app we are developing we need to be able to handle multiple states. Now we are using the ui-router for our main state which works just fine. But we have this panel which can be triggered from everywhere. Which needs to load a state 'independently' from our main state. SO we have a 'main state' and a 'panel state'.
The panel state should also be a part of the url so that you navigate directly to it and it opens and loads the correct state. It would also be cool if we change our 'main state' the 'panel state' just stays as it is. Any idea if such a thing is possible using the ui-router?
We are thinking of building our own PanelRouter or something similar which handles the routing of the panel. And the route for the panel can be part of the url using a get parameter, for example /this/is/our/main/state?panel=/this/is/our/panel/state ... eventually if we want multiple panels with state information we can do this: /this/is/our/main/state?panel=/this/is/our/panel/state&panel2=/this/is/our/second/panel/state.
It would be cool if we could reuse things of the ui-router, so that we don't need to write the logic of handling url-parameters, views, etc. again. Do you think something like this is possible using the ui-router? Where should we start? Does anyone already did something like this?
Kind regards,
Daan
The text was updated successfully, but these errors were encountered:
Hi, in the app we are developing we need to be able to handle multiple states. Now we are using the ui-router for our main state which works just fine. But we have this panel which can be triggered from everywhere. Which needs to load a state 'independently' from our main state. SO we have a 'main state' and a 'panel state'.
The panel state should also be a part of the url so that you navigate directly to it and it opens and loads the correct state. It would also be cool if we change our 'main state' the 'panel state' just stays as it is. Any idea if such a thing is possible using the ui-router?
We are thinking of building our own PanelRouter or something similar which handles the routing of the panel. And the route for the panel can be part of the url using a get parameter, for example /this/is/our/main/state?panel=/this/is/our/panel/state ... eventually if we want multiple panels with state information we can do this: /this/is/our/main/state?panel=/this/is/our/panel/state&panel2=/this/is/our/second/panel/state.
It would be cool if we could reuse things of the ui-router, so that we don't need to write the logic of handling url-parameters, views, etc. again. Do you think something like this is possible using the ui-router? Where should we start? Does anyone already did something like this?
Kind regards,
Daan
The text was updated successfully, but these errors were encountered: