Have anyone had any experience using the Thumbs Gallery for Angular,
I go this error trying to make it work
Here is my HTML angular code:
<swiper [config]="galleryTop">
<swiper [config]="galleryThumbs">
=====================
Here is my config:
public galleryThumbs: any = {
spaceBetween: 10,
slidesPerView: 4,
freeMode: true,
watchSlidesVisibility: true,
watchSlidesProgress: true,
}
public galleryTop: any = {
spaceBetween: 10,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
thumbs: {
swiper: this.galleryThumbs
}
}
I got this error:
Cannot read property 'addClass' of undefined at Swiper.init
Hi everyone,
Have anyone had any experience using the Thumbs Gallery for Angular, I go this error trying to make it work
Here is my HTML angular code: <swiper [config]="galleryTop">
<swiper [config]="galleryThumbs">
=====================
Here is my config: public galleryThumbs: any = { spaceBetween: 10, slidesPerView: 4, freeMode: true, watchSlidesVisibility: true, watchSlidesProgress: true, }
public galleryTop: any = { spaceBetween: 10, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, thumbs: { swiper: this.galleryThumbs } }
I got this error: Cannot read property 'addClass' of undefined at Swiper.init