PageSourceSearch

https://www.tevaint.co.za/wp-content/plugins/advanced-product-cata…/assets/js/apcw-custom.js?ver=1791083858

js tevaint.co.za collected 2026-10-04 03:18:54 UTC 2,963 bytes, 70 lines download raw bytes

1// Carousel Layout JS
2
3(function( $ ) {
4    "use strict";
5
6    // Start Slider Js
7    var Slider = function ($scope) {
8
9        var $_this = $scope.find('.apcw-product-carousel');
10        var $currentID = '#' + $_this.attr('id');
11        var apcw_slider_autoplay = $_this.data('apcw-slider-autoplay');
12        var apcw_slider_speed = $_this.data('apcw-slider-autoplay-speed');
13        var apcw_slider_dots = $_this.data('apcw-slider-dots');
14        var apcw_slider_arrows = $_this.data('apcw-slider-arrows');
15        var apcw_slider_slides_to_scroll = $_this.data('apcw-slider-to-scroll');
16        var apcw_slider_infinite = $_this.data('apcw-slider-infinite');
17        var apcw_slider_pause_on_hover = $_this.data('apcw-slider-pause-on-hover');
18        var apcw_next_arrow = $_this.data('apcw-next-arrow');
19        var apcw_prev_arrow = $_this.data('apcw-prev-arrow');
20        var apcw_slides_to_show = $_this.data('apcw-slides-to-show');
21        var apcw_slides_to_show_tablet = $_this.data('apcw-slides-to-show-tablet');
22        var apcw_slides_to_show_mobile = $_this.data('apcw-slides-to-show-mobile');
23
24        jQuery($currentID + ".apcw-product-carousel").slick({    
25            infinite: (apcw_slider_infinite == 'yes') ? true : false,
26            slidesToShow: apcw_slides_to_show,
27            slidesToScroll: apcw_slider_slides_to_scroll,
28            dots: (apcw_slider_dots == 'yes') ? true : false,
29            arrows: (apcw_slider_arrows == 'yes') ? true : false,
30            autoplay: (apcw_slider_autoplay == 'yes') ? true : false,
31            autoplaySpeed: apcw_slider_speed,
32            focusOnSelect: (apcw_slider_pause_on_hover == 'yes') ? true : false,
33            prevArrow: '<button type="button" class="slick-prev">'+apcw_prev_arrow+'</button>',
34            nextArrow: '<button type="button" class="slick-next">'+apcw_next_arrow+'</button>',
35            responsive: [
36                {
37                    breakpoint: 1900,
38                    settings: {
39                    slidesToShow: apcw_slides_to_show,
40                    }
41                },
42                {
43                    breakpoint: 768,
44                    settings: {
45                    slidesToShow: apcw_slides_to_show_tablet,
46                    }
47                },
48                {
49                    breakpoint: 980,
50                    settings: {
51                    slidesToShow: apcw_slides_to_show_tablet,
52                    }
53                },
54                {
55                    breakpoint: 425,
56                    settings: {
57                    slidesToShow: apcw_slides_to_show_mobile,
58                    }
59                }
60            ]
61        });
62    }
63
64    $(window).on('elementor/frontend/init', function () {
65        elementorFrontend.hooks.addAction('frontend/element_ready/advanced-product-catalog.default', Slider);
66    });
67
68})(jQuery);
69
70//End Carousel Layout JS 

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.