Skip to main content

isCollapsed()

checks whether Sidebar is collapsed

isCollapsed(): boolean;

Returns:

true, if Sidebar is collapsed; otherwise, false.

Example

sidebar.isCollapsed(); // -> true/false