A scrollable tab plugin compatible with angular-ui bootstrap tabs.
- Bootstrap CSS
- jQuery
- AngularJS
- angular-ui-bootstrap
- Include
angular-ui-tab-scroll.js
andangular-ui-tab-scroll.css
in your page. - Add
ui.tab.scroll
to your angular module dependencies. - Wrap your
<tabset>
inside of<scrollable-tabset>
, like so:
<scrollable-tabset show-tooltips="true" watch-expression="tabs">
<tabset>
<tab ng-repeat="x in tabs">...</tab>
</tabset>
</scrollable-tabset>
show-tooltips
- whether or not to show the side-tooltipswatch-expression
- an expression to watch for changes, to update the tab left/right buttonstooltipLeft
- which tooltip direction to use for the left tooltip (bottom, top, left, right) - defaults to bottomtooltipRight
- which tooltip direction to use for the right tooltip (bottom, top, left, right) - defaults to bottomtooltipTextSelector
- the selector for your tooltips, defaults to*:not(:has("*:not(span)"))