PageSourceSearch

https://www.accademiamoda.it/wp-content/themes/iuad-theme/src/js/custom/portfolio-carousel-mobile.js?ver=1.0.0

js accademiamoda.it collected 2026-10-04 13:24:22 UTC 1,025 bytes, 40 lines download raw bytes

1/**
2 * Portfolio Carousel Mobile
3 * Swiper carousel con 1 item alla volta
4 */
5(function() {
6    'use strict';
7
8    document.addEventListener('DOMContentLoaded', function() {
9        const carouselElement = document.querySelector('.portfolio-carousel-mobile-swiper');
10        
11        if (!carouselElement) return;
12        
13        if (typeof Swiper === 'undefined') {
14            console.error('Swiper non caricato');
15            return;
16        }
17
18        const portfolioCarousel = new Swiper('.portfolio-carousel-mobile-swiper', {
19            slidesPerView: 1,
20            spaceBetween: 20,
21            loop: false,
22            
23            // Pagination (solo dots)
24            pagination: {
25                el: '.portfolio-carousel-pagination',
26                clickable: true,
27                type: 'bullets',
28            },
29            
30            // Effects
31            speed: 600,
32            effect: 'slide',
33            
34            // Swipe abilitato
35            allowTouchMove: true,
36        });
37    });
38
39})();
40

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.