PageSourceSearch

https://www.emmendingen.de/fileadmin/templates/js/mask/hw-image-slider.js?1730208527

js emmendingen.de collected 2026-10-02 11:00:07 UTC 985 bytes, 40 lines download raw bytes

1// import Swiper bundle with all modules installed
2import Swiper from '../libs/swiper-11.1.5/swiper-bundle.min.mjs';
3
4// // import styles bundle
5// import 'swiper/css/bundle';
6
7const swiperElements = document.querySelectorAll('hw-image-slider');
8
9swiperElements.forEach((swiperElement) => {
10
11	// init Swiper:
12	const swiper = new Swiper(swiperElement, {
13
14		// Optional parameters
15		// direction: 'vertical',
16		loop: false,
17
18		// Responsive breakpoints
19		slidesPerView: 1,
20		spaceBetween: 0,
21
22		// If we need pagination
23		pagination: {
24			el: 'hw-image-slider-pagination',
25			type: 'fraction',
26			clickable: true,
27			renderFraction: function (currentClass, totalClass) {
28				return '<span class="' + currentClass + '"></span>' +
29					'<span class="hw_banner__pagination__split">/</span>' +
30					'<span class="' + totalClass + '"></span>';
31			},
32		},
33
34		// Navigation arrows
35		navigation: {
36			prevEl: 'hw-image-slider-prev button',
37			nextEl: 'hw-image-slider-next button',
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.