ts-toolkit
ts-toolkit copied to clipboard
Implements the Readium Architecture for Web Apps
Maybe the module themselves should declare what commands they support? Not sure it would work as a type enum in this case. Same for the events above. _Originally posted by...
Will have basic examples for vanilla JS, as well as popular JS frameworks (React, Vue)
Apps should be able to provide their own build of Readium CSS, as it is customizable at build time. _Originally posted by @mickael-menu in https://github.com/readium/ts-toolkit/pull/12#discussion_r1009424402_
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_
* reading progression will have only for possible values LTR and RTL * to determine whether we scroll or paginate, there will be a setting `scroll: bool` * we'll have...