PageSourceSearch

https://proarte.ro/wp-content/plugins/lgx-owl-carousel/public/assets/js/lgx-owl-carousel-public.js?ver=2.0.0

js proarte.ro collected 2026-10-05 22:01:57 UTC 3,382 bytes, 99 lines download raw bytes

1(function() {
2    'use strict';
3
4    /**
5     * All of the code for your public-facing JavaScript source
6     * should reside in this file.
7     *
8     * Note: It has been assumed you will write jQuery code here, so the
9     * $ function reference has been prepared for usage within the scope
10     * of this function.
11     *
12     * This enables you to define handlers, for when the DOM is ready:
13     *
14     * $(function() {
15	 *
16	 * });
17     *
18     * When the window is loaded:
19     *
20     * $( window ).load(function() {
21	 *
22	 * });
23     *
24     * ...and/or other possibilities.
25     *
26     * Ideally, it is not considered best practise to attach more than a
27     * single DOM-ready or window-load handler for a particular page.
28     * Although scripts in the WordPress core, Plugins and Themes may be
29     * practising this, we should strive to set a better example in our own work.
30     */
31
32
33    jQuery(document).ready(function($) {
34
35        $('.lgx-carousel').each(function(){
36            var $item = $(this);
37            var dataAttr = $item.data();
38            //console.log(dataAttr.navlarge);
39            var carouselParams = {
40                //items:dataAttr.item,
41                loop:dataAttr.loop,
42                dots:dataAttr.dots,
43                autoplay:dataAttr.autoplay,
44                lazyLoad: dataAttr.lazyload,
45                autoplayTimeout:dataAttr.autoplaytimeout,
46                margin:dataAttr.margin,
47                nav:dataAttr.nav,
48                addClassActive:dataAttr.addclassactive,
49                autoplayHoverPause:dataAttr.autoplayhoverPause,
50                video:dataAttr.video,
51                animateOut:dataAttr.animateout,
52                animateIn:dataAttr.animatein,
53                navText :['<img src="'+lgxcarousel.owl_navigationTextL+'" alt="Left"/>','<img src="'+lgxcarousel.owl_navigationTextR+'" alt="Right"/>'],
54                videoHeight: dataAttr.videoheight,
55                videoWidth: dataAttr.videowidth,
56                smartSpeed:dataAttr.smartspeed,
57                slideSpeed : dataAttr.slidespeed,
58                paginationSpeed : dataAttr.paginationspeed,
59                rewindSpeed : dataAttr.rewindspeed,
60                responsiveClass:true,
61                responsive:{
62                    // Item in Mobile Devices (Less than 768px)
63                    0:{
64                        items:dataAttr.itemmobile,
65                        nav:dataAttr.navmobile
66                    },
67                    // Item in Tablets Devices (768px and Up)
68                    768:{
69                        items:dataAttr.itemtablet,
70                        nav:dataAttr.navtablet
71                    },
72                    // Item in Desktops Devices (Desktops 992px)
73
74                    992:{
75                        items:dataAttr.itemdesk,
76                        nav:dataAttr.navdesk
77                    },
78                    // Item in Large Desktops Devices (1200px and Up)
79                    1200:{
80                        items:dataAttr.itemlarge,
81                        nav:dataAttr.navlarge
82                    }
83                }
84
85            };
86            setTimeout(function() {
87                $item.owlCarousel(carouselParams);
88                //
89            }, 1);
90        });
91
92
93
94
95    });
96
97
98
99})();

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.