I am trying to implement "sliding images" in side-menu of Ionic-3.
Following is my code :
<ion-menu [content]="content">
<ion-content>
<ion-slides>
<ion-slide>
<img class="slide-image" src="img1.png">
</ion-slide>
<ion-slide>
<img class="slide-image" src="img2.png">
</ion-slide>
<ion-slide>
<img class="slide-image" src="img3.png">
</ion-slide>
</ion-slides>
<ion-list>
<p>some menu items</p>
</ion-list>
</ion-content>
</ion-menu>
<ion-nav [root]="rootPage" #content></ion-nav>
The elements are rendering properly but the problem is that the <ion-slide>
is behaving like horizontal scroll view in side menu.
I have tried to disable the swipe gesture of side-menu but still the behavior of <ion-slide>
persist.
Even I have tried to use slideNext
and slidePrev
method of Slides
but they are not working.
Is there any way I can implement the sliding-images in side-menu either using Ionic-3 or third party library?