How to show number of pages instead of circles

Hello!
I made some slides but I need to show the number of slides instead circles.I want to make like this:

slides

I think you will have to implement a custom pagination

See http://idangero.us/swiper/api/#pagination -> type: 'custom'and renderCustom

Can you tell me an example because I’m new to Ionic

You do something like

<ion-slides [options]="myOptions">

and in your code

myOptions = {
    pagination: {
        el: '.swiper-pagination',
        type: 'custom',
        renderCustom: (swiper, current, total) => {
            return '<div>Here you return the piece of code you want to display</div>';
        }
    }
}

I hope that help

Quick and dirty, probably something like

myOptions = {
    pagination: {
        el: '.swiper-pagination',
        type: 'custom',
        renderCustom: (swiper, current, total) => {
            return '<span>' + current + ' di ' + total + ' </span>';
        }
    }
}

thank you very much…

di niente, my pleasure