Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Using ion-scroll with zoom & mouse

$
0
0

@pliablepixels wrote:

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

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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