I use Ionic2 ion-slides , which is great for me.
<ion-slides [options]="extraOptions"> <ion-slide *ngFor="let slide of slides"> <img src="{{slide.image}}" /> </ion-slide> </ion-slides>
I would like to add a horizontal scrollbar, as shown here, in the Swiper API http://idangero.us/swiper/api/#.V6Lcx8twbqA (13th example), since the docs mention Swiper this is what is used for ion-slides . The source code for this example has <div class="swiper-scrollbar"></div> after the <div class="swiper-wrapper"> .
The problem is that Ionic generates HTML, since I can add a scroll function.
To add pagination bullets to the slider, I need to add the pager attribute directive to the ion-slides tag. Is there something similar for a horizontal scrollbar?
source share