We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c3a441 + 85e7035 commit cad7d98Copy full SHA for cad7d98
README.md
@@ -93,6 +93,16 @@ $('.nav-tabs').scrollingTabs();
93
```
94
95
96
+##### Bootstrap 4 Support
97
+
98
+If you're using Bootstrap 4, you need to pass in option `bootstrapVersion: 4` (the default is `3`):
99
+```javascript
100
+$('.nav-tabs').scrollingTabs({
101
+ bootstrapVersion: 4
102
+});
103
+```
104
+Bootstrap 4 handles some things differently than 3 (e.g., the `active` class gets applied to the tab's `li > a` element rather than the `li` itself)
105
106
##### reverseScroll Option
107
108
You can also pass in the `reverseScroll` option:
0 commit comments