Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Ion-scroll zoom end callback

$
0
0

I am using ion-scroll to zoom a div like below.

<ion-scroll zooming="true" direction="xy" min-zoom="1" max-zoom="1.5">
         <div class="page ng-cloak">
              <div class="conent_img">
                <img ng-src="{{item.Image}}"/>  
              </div>
         </div></ion-slide-box>

I would like to use the last zoom and scroll position and save it so that next time user can see the scroll on the same position.

I understand that there is no callback provided for this purpose. I tried to look into ionScroll directive but didn't find any place where I can do a callback. Is there anyway to hook a callback on Zoom end of ionScroll ?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>