Toggles the visibility of a sidebar.{% markdown %} ```js BootstrapLayout.sidebar.toggle(sidebar) ``` {% endmarkdown %}
| Argument | Type | Required | Default value |
|---|---|---|---|
| sidebar |
String|jQueryThe argument can be a String representing the sidebar id attribute, for example #my-sidebar or a jQuery element i.e. $('#my-sidebar')
|