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

Using ion-scroll with zoom & mouse

$
0
0

Hi there, I have the following fragment of code that works great on touch devices:

<ion-scroll delegate-handle="imgscroll" has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
  <img src=something />
</ion-scroll>

ionic automatically takes care of zoom via pinch/zoom. I'd also like the zooming to work on mouse scroll wheel (I support desktops too). How does one go about doing that?

thx


Viewing all articles
Browse latest Browse all 228598

Trending Articles



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