Change the 'state' by opening some panes and adjusting their size, then Reload. The page should reload with the panes exactly as they were.
load-state when layout created - see options
save-state on window.unload & layout.destroy()
– loadState when layout created? (can't change here)
– saveState on window.unload ?
Data is output using console.log(), so look at the console.
Show current state-data from the layout
Show state-data stored in layout.state object - as last read-from or saved-to the state-cookie
Show data currently saved in the state-cookie
Update the state-cookie with current layout state-data
Delete the state-cookie
> RELOAD page with default layout settings (no state)...
This button triggers 3 steps:
> RESET layout to
as it was when loaded (instant, no reload)
> ditto – true = use pane animations
These buttons loads a state-hash that was created onLoad:
#tab1.tabPanel
div.ui-widget-content
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Click the buttons below to console.log the 'state' of the outer-west or outer-center panes. This will include the states of all their children, grand-children, etc.
Tabs Footer
Outer East pane
Outer East content
Outer North pane
State-Management Demo Page
Outer South pane