You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are 3 elements in the slider, they are placed in the container. How to not show previous / next buttons, if there are no other slides. If the window size is changed, if the width of the container changes, the buttons should appear. const flickityFiltersListSlider = new Flickity('.js--filters-list-slider', { contain: true, pageDots: false, bgLazyLoad: 2, initialIndex: 1, dragThreshold: 40, cellAlign: 'left', arrowShape: { x0: 10, x1: 50, y1: 50, x2: 50, y2: 40, x3: 20 } });
If there are 3 elements in the slider, they are placed in the container. How to not show previous / next buttons, if there are no other slides. If the window size is changed, if the width of the container changes, the buttons should appear.
const flickityFiltersListSlider = new Flickity('.js--filters-list-slider', { contain: true, pageDots: false, bgLazyLoad: 2, initialIndex: 1, dragThreshold: 40, cellAlign: 'left', arrowShape: { x0: 10, x1: 50, y1: 50, x2: 50, y2: 40, x3: 20 } });
example in https://codepen.io/Shperung/pen/bRWbpg.
The text was updated successfully, but these errors were encountered: