ts-toolkit
ts-toolkit copied to clipboard
Delegate click/tab even prevention to app
Are you able to get a bool result from the tap/click events? Then you can delegate this choice to the app.
See https://github.com/readium/kotlin-toolkit/blob/e5231436cac3a802fb5e406eda63bce4f1a5549d/readium/navigator/src/main/assets/_scripts/src/gestures.js#L33-L40
Originally posted by @mickael-menu in https://github.com/readium/ts-toolkit/pull/12#discussion_r1009445873