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

Default "sidenav-toggler" state #55

Closed
arnydo opened this issue Dec 18, 2017 · 3 comments
Closed

Default "sidenav-toggler" state #55

arnydo opened this issue Dec 18, 2017 · 3 comments

Comments

@arnydo
Copy link

arnydo commented Dec 18, 2017

Forgive me for this simple question but how do I set the default state of the sidenav to "Collapsed"?

Thank you.

@jpkeisala
Copy link

$("#sidenavToggler").click()

@OLTrustNo1
Copy link

@arnydo Simply add the class "sidenav-toggled" to your body and the sidenav will be collapsed by default.

@davidtmiller
Copy link
Member

Thanks @jpkeisala and @OLTrustNo1

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

No branches or pull requests

4 participants