returns the current state of the sidebar
object | the state object |
$$("sidebar1").getState();
The state object reflects the UI configuration of a sidebar, including its collapsed / expanded state.
For example, for a collapsed sidebar the method will return an object like this:
{
"collapsed": true,
"open": [],
"select": [
"accordions"
]
}