Slides Error

I have some problems with Slides.

I have read the api doc and used the api lockswipe

but the compiler has error witeh the method, lockswipe.

how can i handle it .

thanks in advance

Kind of hard to know what the issue is without any code.
Could you post something that we could look at and get a better picture of what you are trying to do?

i declared below, slides
@ViewChild(Slides) slides: Slides;

and i used the method lockSwipeToNext(), like below

ionViewDidEnter() {

but the error happend

please let me know why

thanks in advance