https://github.com/kant2002/iframe-touch-relay
Relays touch events inside iframe, to support multi-touch on pages with multiple iframes
https://github.com/kant2002/iframe-touch-relay
Last synced: 3 months ago
JSON representation
Relays touch events inside iframe, to support multi-touch on pages with multiple iframes
- Host: GitHub
- URL: https://github.com/kant2002/iframe-touch-relay
- Owner: kant2002
- License: mit
- Created: 2024-02-05T14:37:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T15:57:26.000Z (over 1 year ago)
- Last Synced: 2025-10-08T22:27:08.960Z (10 months ago)
- Language: TypeScript
- Size: 35.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iframe-touch-relay
Relays touch events inside iframe, to support multi-touch on pages with multiple iframes.
Sample how it works in practice. Let's say we have global page, and two designated zones. Two persons touch screen in two different places. Now `iframe-touch-relay` find which individual touch should belongs to each zone. and resend each syntetic touch to zone iframes. On the screen below, the red touches wouldbe delivered to global page, green touches would be delivered to Zone 1, and blue touches would be delivered to Zone 2.
