Track cursor onParent #30
PixelJanitor
started this conversation in
Ideas
Replies: 1 comment
-
I think this feature is implemented in Vanilla-tilt.js called - mouse-event-element. Is it possible to get this implemented here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The ability to
trackOnWindow
is great, and close to what we need, but better yet it would be awesome to be able to reference some sort of parent element that enables cursor tilt following when the cursor enters that space and not track based on the entire window at all times.Example: If there is an entire section of a website that you scroll to and want a specific element inside that section to be tilt-enabled only when your cursor is within that section (not just when within the tilt-able container itself like the default behavior)
Beta Was this translation helpful? Give feedback.
All reactions