Verified Commit fab2da4d authored by Carl Schwan's avatar Carl Schwan 🌈

feat: add swiper configuration

parent cd7025f4
/**
* SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Swiper from 'swiper';
import './../css/applications.scss';
let swiper = new Swiper('.swiper-container', {
direction: 'vertical',
loop: true,
// If we need pagination
pagination: {
el: '.swiper-pagination',
},
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
// And if we need scrollbar
scrollbar: {
el: '.swiper-scrollbar',
},
});
/**
* SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import 'swiper';
import './../css/applications.scss';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment