Pinch to Zoom Image & Hold to Move Around in Sliders

#1

Hi, how do I pinch to zoom as well as after zoomed, user may hold the screen to move around moved images? Here’s the code I tried but the zoom doesn’t stay and will revert back to normal size:

< ion-slides pager=true loop=true centeredSlides=true zoom=true class=“image-slider” >
< ion-slide >
< div class=“swiper-zoom-container” >
< img src=“img/test.jpg” imageViewer />
< /div>
< /ion-slide>
< /ion-slides>