Use svg path as bounds #533
Answered
by
dbismut
mutheusalmeida
asked this question in
General
-
Hi, I'm trying to make something similar to what the native animateMotion API from SVG does but I wanted to use mouse and touch gestures for that. Is it possible to use svg coordinates as the bound of use-gesture? |
Beta Was this translation helpful? Give feedback.
Answered by
dbismut
Aug 15, 2022
Replies: 1 comment
-
No. You can pass a node to use gesture bounds option and it will use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mutheusalmeida
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. You can pass a node to use gesture bounds option and it will use
getBoundingClientRect
but this is obviously different than what you need.