You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for this library, it's exactly what I need!
For my purposes, I need to know when an image is zoomed in and zoomed out. So, I would need something like a callback.
Looking at the source code, I saw both the useZoomGesture hook and the animationFunction prop, but I didn't understand how to use them.
So I'm asking for your help on this.
I don't want to customize or rewrite the entire animation, I just need to know when the zoom is activated or deactivated.
Ideally, I would like to have two callbacks: at the beginning of the animation and at the end of the animation.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, thank you for this library, it's exactly what I need!
For my purposes, I need to know when an image is zoomed in and zoomed out. So, I would need something like a callback.
Looking at the source code, I saw both the
useZoomGesture
hook and theanimationFunction
prop, but I didn't understand how to use them.So I'm asking for your help on this.
I don't want to customize or rewrite the entire animation, I just need to know when the zoom is activated or deactivated.
Ideally, I would like to have two callbacks: at the beginning of the animation and at the end of the animation.
Thanks!
The text was updated successfully, but these errors were encountered: