# Remove slide pagination on final slide only

I’m using ion-slides with pager set to true,

is it possible to hide the slider on the final slide of four only. I’ve googled it, but with no success.

Thanks

Did you mean “hide the pager”? I haven’t used it before, but looking at the docs I think this should work:

import { ViewChild } from '@angular/core';
import { Slides } from 'ionic-angular';

class MyPage {
@ViewChild(Slides) slides: Slides;
}
<ion-slides [pager]="slides.isEnd()">

If this is not what you mean, please clarify

1 Like

Hi yes, i meant hide the pagination on the final slide.

this looks promising, i’ll take a look thanks