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

[feature request] Breakpoint container #706

Open
kilobyte2007 opened this issue Dec 6, 2024 · 0 comments
Open

[feature request] Breakpoint container #706

kilobyte2007 opened this issue Dec 6, 2024 · 0 comments

Comments

@kilobyte2007
Copy link

kilobyte2007 commented Dec 6, 2024

It would be great to detect the breakpoint based on a specific container element. Similar to how it works in CSS.

The solution would be to add an option like:
breakpointsBase (similar to how it is in swiper.js) and allow specifying:
window - the window size
container - the size of the glider container
.selector-example - a CSS selector of the element based on which to detect breakpoints

@kilobyte2007 kilobyte2007 changed the title Breakpoint container [feature request] Breakpoint container Dec 6, 2024
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

1 participant