Steph8
Steph8

Reputation: 1583

Remove pager (dots) in new ion-slides ionic component

I'm trying to remove the pager in my ion-slides component. I tried all, but they still remain. How can I remove that? On the documentation nothing work. I spent 2 days in trying but nothing work.

Upvotes: 1

Views: 3816

Answers (4)

Jai Jadhav
Jai Jadhav

Reputation: 11

You can set the property pager = "false"

Upvotes: 1

kushal
kushal

Reputation: 156

add this code in your .css file if you are using ion-slides

.swiper-pagination-bullet{
    background:white!important;
    border-radius: 100%;
    height: 17px;   
    width: 17px;
    display: none;
}

Upvotes: 0

Steph8
Steph8

Reputation: 1583

The solution is:

options="{pagination: false}"

Upvotes: 8

Teja Nandamuri
Teja Nandamuri

Reputation: 11201

You need to set the show-pager property to false.

  <ion-slide-box show-pager="false">

Upvotes: 4

Related Questions