How to zoom out using $ionicScrollDelegate.zoomBy?


#1

I zoomed in on a scroll view, it’s all fine, but how to zoom back out? Does $ionicScrollDelegate support zooming out?


#2

make the factor small enough?

maybe you zoomedBy the factor 5 --> you need to zoomBy factor 0.2 to get back to 1 ^^


#3

no, the 0.2 zooms in too… :confused:


#4

because I have on-tap and on-double-tap on the same element… one zooms in, other - out so it is using only the on-tap