bootstrap-layout
Version:
Bootstrap layout with sidebar navigation, sidebar skins, sidebar transition, custom scrollbars, sidebar menus and other advanced features and utilities
28 lines (27 loc) • 797 B
HTML
<h3>Scrollable.init</h3>
<blockquote>
Enable custom scrollbars on any element programatically.
</blockquote>
{% markdown %}
```js
BootstrapLayoutScrollable.scrollable.init(element)
```
{% endmarkdown %}
<div class="table-responsive">
<table class="table table-sm">
<thead>
<tr>
<th width="160">Argument</th>
<th>Type</th>
<th class="text-xs-center">Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>The argument can be a <code>String</code> representing a DOM selector, for example <code>#my-div</code> or a <code>jQuery</code> element i.e. <code>$('#my-div')</code></td>
<td class="text-xs-center"><span class="material-icons text-success">check</span></td>
</tr>
</tbody>
</table>
</div>