-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: On Tap Gesture #519
Comments
this would be the equivalent of |
Two current solutions are to wrap the View in a All of SwiftUIs gesture APIs still need to be built out. |
Yeah but |
@libewa Please see this second example in the README of a HTML view calling Swift code on the mouse move event. It could be adapted to onclick fairly easily: https://github.com/TokamakUI/Tokamak#arbitrary-html |
I agree we need this feature implimented on its own, without a button. |
work is being done here |
Thank you so much for creating this amazing tool!
I was wondering if there was any way to check if a View has been touched/tapped by the user? In SwiftUI, I would accomplish this by using a
.onTapGesture {}
on the SwiftUIView
. Maybe there already is something equivalent and I just haven't found it yet.Thanks!
The text was updated successfully, but these errors were encountered: