dashboard v2 erstellt
This commit is contained in:
19
Dashboard_V2/static/js/Simple-Slider.js
Normal file
19
Dashboard_V2/static/js/Simple-Slider.js
Normal file
@@ -0,0 +1,19 @@
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
|
||||
// Initializing the swiper plugin for the slider.
|
||||
// Read more here: http://idangero.us/swiper/api/
|
||||
|
||||
var mySwiper = new Swiper('.swiper-container', {
|
||||
loop: true,
|
||||
pagination: {
|
||||
el: '.swiper-pagination' ,
|
||||
clickable: true
|
||||
},
|
||||
paginationClickable: true,
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev'
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user