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

fix(navigation): allow multiple classes in navigation options #6345

Merged

Conversation

benedictdudel
Copy link
Contributor

With swiper version <= 8 it was possible to use multiple classes in disabledClass, navigationDisabledClass and lockClass option. I tried to replicate this feature by just spliting the classes at each whitespace. According to mdn .classList.add() and .classList.remove() both accept multiple classes.

This PR should fix #6344

Allow multiple classes in `disabledClass`, `navigationDisabledClass` and `lockClass`.

fixes nolimits4web#6344
@nolimits4web nolimits4web merged commit ca49b9f into nolimits4web:master Feb 6, 2023
@nolimits4web
Copy link
Owner

Thank you

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.

disabledClass breaks swiper when adding multiple classes
2 participants