Center pane

Change the 'state' by opening some panes and adjusting their size, then Reload. The page should reload with the panes exactly as they were.

loadState when layout created? (can't change here)
saveState on pagehide?

Show current state-data from the layout

Show state-data cached in the layout state object

Show data currently saved in local storage

Update local storage with current layout state-data

Delete the stored state

> RELOAD page with default layout settings (no state)...

    This button triggers 3 steps:

  1. myLayout.deleteState() — remove the existing stored layout state
  2. myLayout.options.stateManagement.autoSave = false — prevent saving state on pagehide
  3. Reload the page — use default settings because there is no stored state

> RESET layout to as it was when loaded (instant, no reload)
  > ditto – but using pane animations

    These buttons loads a state-hash that was created onLoad:

Test loading of a specific state object

 

North pane
West pane
South pane
East pane