-
The changes I make to the FlexLayout layout such as resizing, open/close tabs etc. are somehow persisted between component mount and unmount. For example, If I mount the FlexLayout component, open some tabs, unmount the component, remount the component then the tabs I opened previously are still there. How do I disable this behaviour? When my My use case: For example, right now I can go to route Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The layout is defined in the model which is changed by the gui as you move tabs etc. To reload the model use Model.fromJson(jsonModel) to create a new model from your static json for each page. |
Beta Was this translation helpful? Give feedback.
The layout is defined in the model which is changed by the gui as you move tabs etc.
To reload the model use Model.fromJson(jsonModel) to create a new model from your static json for each page.