openam / bootstrap-responsive-tabs

Bootstrap responsive tabs are tabs that switch to collapsible components (accordions) when resized.
openam.github.io/bootstrap-responsive-tabs
MIT License
132 stars 60 forks source link

Added accordian multi-tab opening functionality #46

Closed foloed closed 3 years ago

foloed commented 9 years ago

Multiple tabs can be opened all at once on accordion view.

openam commented 8 years ago

@foloed I'm not sure if I like this. I don't like having multiple accordions open at the same time. You can't do it with tabs. With that said I understand it makes more sense to possibly allow it in the accordions.

If you want this in could you make it so that it's an option that gets passed in when you start it? Maybe we should do something like this:

fakewaffle.responsiveTabs( {
  'sizes'  : [ 'xs', 'sm' ],
  'toggle' : false
} );

The options should be backwards compatible with just passing in the sizes, e.g. fakewaffle.responsiveTabs( [ 'xs', 'sm' ] ); should still work.

Also, you should squash all these commits into one commit, and rebase it.

openam commented 8 years ago

This would address #44.