Skip to main content

collapsed

defines that a sidebar is initialized in the collapsed state

collapsed?: boolean;

Example

var sidebar = new dhx.Sidebar(document.body, {    css: "dhx_widget--border_right",    collapsed: true});