Skip to content
Discussion options

You must be logged in to vote

Apparently, this is works. This method will reset the swiper to its default behavior.

new Swiper(".article-swiper", {
  slidesPerView: 2,
  slidesPerGroup: 2,
  spaceBetween: 7,
  grid: {
    rows: 2,
    fill: "row",
  },
  breakpoints: {
    768: {
      grid: {
        rows: 1,
        fill: 'row',
      },
    },
  },
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lamualfa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant