Add TypeScript ignore comments to swiper initialization
This commit is contained in:
@ -41,12 +41,14 @@
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// Initialize Swiper
|
// Initialize Swiper
|
||||||
|
// @ts-ignore
|
||||||
var swiper = new Swiper('.mySwiper', {
|
var swiper = new Swiper('.mySwiper', {
|
||||||
spaceBetween: 10,
|
spaceBetween: 10,
|
||||||
slidesPerView: 4,
|
slidesPerView: 4,
|
||||||
freeMode: true,
|
freeMode: true,
|
||||||
watchSlidesProgress: true,
|
watchSlidesProgress: true,
|
||||||
})
|
})
|
||||||
|
// @ts-ignore
|
||||||
var swiper2 = new Swiper('.mySwiper2', {
|
var swiper2 = new Swiper('.mySwiper2', {
|
||||||
spaceBetween: 10,
|
spaceBetween: 10,
|
||||||
navigation: {
|
navigation: {
|
||||||
|
|||||||
Reference in New Issue
Block a user