Advertisement
jrlopezd

Incializar Swiper.js

Nov 25th, 2022
1,202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.59 KB | None | 0 0
  1. jQuery(document).ready(function ($) {
  2.     var swiper = new Swiper('.swiper-container',
  3.         {
  4.             effect: 'coverflow', grabCursor: true, centeredSlides: true, loop: 'true',
  5.             slidesPerView: 2, coverflowEffect: {
  6.                 rotate: 50, stretch: 0, depth: 100, modifier:
  7.                     1, slideShadows: true,
  8.             }, pagination: { el: '.swiper-pagination', }, // Responsive
  9.             breakpoints breakpoints: {
  10.                 1080: {
  11.                     slidesPerView: 'auto', loopAdditionalSlides: 1,
  12.                 },
  13.             }
  14.         })
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement