oldway:
slideOptions = {
loop: false,
pager: true,
noSwipingClass: ‘swiper-no-swiping’,
paginationClickable: true,
paginationBulletRender: function (index, className) {
return ‘’ + (index + 1) + ‘’;
}
};
new
ngAfterViewInit() {
this.slider.loop = false;
this.slider.paginationType = ‘bullets’;
this.slider.paginationBulletRender = (index: number, className: string) => {
return <span class="${className}">${index + 1}</span>
;
};
}
- but if i use paginationBulletRender bullet click doesn’t work ,
- and noSwipingClass: ‘swiper-no-swiping’, this option gone?! it think it`s old perfect way
now i just stuck in; need help please