Slides - before swipe event


Is there a slide event that triggers just before the start of a slide transition? I’ve already tried ionSlideNextStart and ionSlideWillChange but none of them work the way I need it.
What I want is to lock the swipe based on a condition. For example, I want to lock the swipe if the image is zoomed in and unlock it if the image is zoomed out.


Here’s exactly the problem and the solution found to lock / unlock the slides when zoom-in / zoom-out occurs.