readium / ts-toolkit

A toolkit for ebooks, audiobooks and comics written in Typescript
BSD 3-Clause "New" or "Revised" License
60 stars 9 forks source link

Handle edge tap decisions in app #23

Open chocolatkey opened 2 years ago

chocolatkey commented 2 years ago

Edge taps to turn pages should be handled in the (test) app. The navigator will just send the tap event.

Each app might want different edge threshold, or even disable this feature for accessibility reasons.

_Originally posted by @mickael-menu in https://github.com/readium/ts-toolkit/pull/12#discussion_r948082521_