Enable custom scrollbars on any element programatically.{% markdown %} ```js BootstrapLayoutScrollable.scrollable.init(element) ``` {% endmarkdown %}
Argument | Type | Required |
---|---|---|
element | The argument can be a String representing a DOM selector, for example #my-div or a jQuery element i.e. $('#my-div') |