mmdevcodes

Results 7 comments of mmdevcodes

Would be an amazing change. How do other themes do this?

If you want to hide the arrows at a certain width use the `responsive` option. An example to hide the arrows once the viewport is at 768px: ```js const slider...

Your `arrows` is set to false for all breakpoints. It's never enabled at any breakpoint.

Oh I see. Since you have your own custom arrows a11y-slider does not apply show/hide classes. You'll need to add your own CSS media queries to hide the arrows. Set...

Unfortunately centerMode is an experimental/deprecated option and will be removed in the next release. It doesn't work well with overflowed containers.

@fjord20 Select all your sliders and then iterate over the list: ```javascript const sliders = document.querySelectorAll('.slider'); sliders.forEach(sliderEl => { const slider = new A11YSlider(sliderEl); }); ```

Hey @verlok, yes adding swipe functionality is my next goal for this library. For both mobile and desktop.