How to reset zoom on the ion-scroll?

Hi, I am using ion-scroll to shown an image. I have also set property zooming = true. Once I zoom a photo I want to reset it programmatically. Is there a way to do that ?

Just landed in the nightly builds$ionicScrollDelegate/

zoomTo(level, [animate], [originLeft], [originTop])

Thanks for that.

The zoomTo doc seems a bit incomplete though; which zoom level should we expect given a level value of 0 ? or 2 ?

What is the difference between zoomTo and zoomBy ?

1 Like