Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize tabcollapse even when it is hidden #68

Closed
wants to merge 8 commits into from

Conversation

GregOnNet
Copy link

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

@GregOnNet
Copy link
Author

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

@GregOnNet GregOnNet closed this Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant