-
Notifications
You must be signed in to change notification settings - Fork 809
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
Custom prompt #3320
Custom prompt #3320
Conversation
Ugh, okay this concept of using synthetic touch events works on Chrome, but not on other browsers - if touch is not supported on a device, they don't let you construct touch events. Looks like I need to switch to PointerEvents first, which I wanted to anyway, but had trouble with last time. I was hoping a synthetic pointer event might trigger a mouse/touch event pair, but alas no. |
@diegoteran @samaneh-kazemi Probably one of you will end up implementing Tomi's custom prompts using this API, so I figured you might be interested in how it works. I'll write up a design doc for it too. |
The idea here is to make an API so you can create your own custom interaction prompt, potentially including pan and zoom motions in addition to rotation. It's working here, including an example and docs.