bootstrap-tabcollapse
bootstrap-tabcollapse copied to clipboard
Initialize tabcollapse even when it is hidden
Hey,
thanks for provding bootstrap-tabcollapse
. It really helps me out creating the mobile <-> desktop switch on my own.
In my project I initialize bootstrap-tabcollapse
in a container having the css-property display: none
set.
Till now you check for is(':visible') to decide whether to show Tabs or Accordion I updated the condition to look for the configured hidden classes (default: 'hidden-xs').
Hope this helps you, too.
Kind Greg
Hi,
I just added some commits making the detection whether to show tabs or accordion simpler.
I also had to add a package.json
to be able install the package via npm from my own git-repository.
Kinds Greg