Using ion-scroll with zoom & mouse


#1

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


#2

Hey ho, never mind. I keep forgetting the lovely ionicScrollDelegate exposes all the methods I need. Problem solved.