SliderPerView

The parameter value is an object that contains key-value pairs where the key is the screen width and the value is the number of products to be displayed.

sliderPerView: {
      1200: 8,
      992: 3,
      768: 2,
      320: 1.5
    },

case: 8 items on 1200 screen

 ProductSlider({
    apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
    backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
    sliderType: 1,
    sliderPerView: {
      1200: 8,
      992: 3,
      768: 2,
      320: 1.5
    },
    enablePreview: true,
    enableAutoHover: true,
    rootID: 'printlean'
  });
sliderPerView: {1200:8, 992:3, 768:2, 320:1.5}

case: 6 items on 1200 screen

  ProductSlider({
    apiKey: 'SNGbv8bSovxeDDDAXMS4Qm-ncTd8LOfORRVe0pdPkTk6o-jbu9',
    backgroundURL: 'https://your-domain.com/url-address-of-the-image.jpg',
    sliderType: 1,
    sliderPerView: {
      1200: 6,
      992: 3,
      768: 2,
      320: 1.5
    },
    enablePreview: true,
    enableAutoHover: true,
    rootID: 'printlean'
  });
sliderPerView: {1200:6, 992:3, 768:2, 320:1.5}

Last updated