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
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 sizecontainer- the size of the glider container.selector-example- a CSS selector of the element based on which to detect breakpoints