Ionic slides don't show a pager

I’m trying to use ion slides and although I set it to show pager bullets, it shows nothing.

I tried:

<ion-slides options="{pager:true}" *ngIf="showSlides">


<ion-slides pager *ngIf="showSlides">

and no bullets appear in the slides.

Is there anything i’m missing?

Hi, you must add the square brackets to options like this.
<ion-slides [options]="{pager:true}" *ngIf="showSlides">

1 Like

You may try including the attribute pager inside the tag ion-slides.