Skip to content

Commit f6441dc

Browse files
committed
update docs according to #18. indicate multiple responsive breakpoints
1 parent 016ace3 commit f6441dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ If you want to specify the class that is given to accordion and tabs components
5454
});
5555

5656
The default class is `hidden-xs`. So it means that tabs component will be switched to accordion for 767px and below. You can define your own classes and use them.
57+
You can also use multiple Bootstrap classes in order to, for example, show accordion for mobile + tablets and tabs for desktop+:
58+
59+
$('#myTab').tabCollapse({
60+
tabsClass: 'hidden-sm hidden-xs',
61+
accordionClass: 'visible-sm visible-xs'
62+
});
5763

5864
Events
5965
------------

0 commit comments

Comments
 (0)