enhance ControlSidebar.js

- add abilty to set target
- fix show control-sidebar on page load
This commit is contained in:
REJack
2020-11-27 10:21:42 +01:00
parent 48ceaed751
commit 29c2375e2b
2 changed files with 26 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ $("#my-toggle-button").ControlSidebar('toggle');
|controlsidebarSlide | Boolean | TRUE | Whether the sidebar should slide over the content or push the content to make space for itself.
|scrollbarTheme | Boolean | `os-theme-light` | Scrollbar Theme used while SideBar Fixed
|scrollbarAutoHide | Boolean | `l` | Scrollbar auto-hide trigger
|target | String | `.control-sidebar` | Target control-sidebar to handle multiple control-sidebars.
{: .table .table-bordered .bg-light}
> ##### Tip!