PageSourceSearch

https://www.quintainliving.com/themes/custom/tipi_bootstrap/components/split-slider/split-slider.js?tlrons

js quintainliving.com collected 2026-09-26 08:58:59 UTC 1,092 bytes, 34 lines download raw bytes

1(function ($, Drupal, once) {
2  Drupal.behaviors.splitSlider = {
3    attach: function (context, settings) {
4      once('split-slider', '.split-slider', context).forEach(function (el) {
5        var id = el.dataset.sliderId;
6
7        var desktopSwiper = new Swiper('#split-slider-desktop-' + id, {
8          slidesPerView: 'auto',
9          spaceBetween: 32,
10          slidesPerGroup: 1,
11          allowTouchMove: false,
12          observer: true,
13          observeParents: true,
14          navigation: {
15            nextEl: '.desktop-nav #split-slider-next-' + id,
16            prevEl: '.desktop-nav #split-slider-prev-' + id,
17            disabledClass: 'is-disabled',
18          },
19        });
20
21        new Swiper('#split-slider-mobile-' + id, {
22          slidesPerView: 'auto',
23          spaceBetween: 0,
24          allowTouchMove: true,
25          navigation: {
26            nextEl: '.mobile-nav #split-slider-next-' + id,
27            prevEl: '.mobile-nav #split-slider-prev-' + id,
28            disabledClass: 'is-disabled',
29          },
30        });
31      });
32    }
33  };
34})(jQuery, Drupal, once);

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.