Blaze Slider
API

autoplayDirection

Direction of automatic slide advancement

Direction the slider moves during autoplay.

autoplayDirection: 'to left' | 'to right'; // default: 'to left'

Example: To left (default)

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    autoplayDirection: 'to left',
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

Example: To right

new BlazeSlider(el, {
  all: {
    enableAutoplay: true,
    autoplayDirection: 'to right',
    slidesToShow: 3,
  },
});
1
2
3
4
5
6

On this page