readium / r2-glue-js Goto Github PK
View Code? Open in Web Editor NEWJavascript resources that are injected by a Readium-2 streamer or navigator
License: BSD 3-Clause "New" or "Revised" License
Javascript resources that are injected by a Readium-2 streamer or navigator
License: BSD 3-Clause "New" or "Revised" License
Kotlin/Swift: link handling needs to be evaluated and tested and from my understanding this is something that is being currently worked on in Glue, we haven’t done any thorough testing on mobile as it currently stands right now.
The examples should work out of the box as a static site when served
Installed the latest Android Studio, 3.1.3 and then cloned the r2-kotlin-app repo. Opened it with AS, which caused AS to update all sorts of dependencies, but then after a lot of running, it issue these errors
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':r2-testapp:debugRuntimeClasspath'.
The complete output of the errors is here:
Kotlin: When dragging slowly there are situations where content gets selected and the context menu shows up, which is not what the user experience should be. Currently, we have a workaround in native code (Kotlin), but that also means right now that an intended selection isn’t working.
From @aferditamuriqi on February 8, 2018 19:16
swipe works just fine in both landscape and portrait mode.
Copied from original issue: readium/r2-testapp-swift#16
Just recording my thoughts but a handful of existing features in other Reading Apps came to my mind when closing the UX issue in Readium CSS:
table
in a dedicated web view/modal when double-clicking/double-tapping it;figure/img
in a dedicated web view/modal when double-clicking/double-tapping and/or pinch-to-zooming – I’ve never quite understood why the figcaption
is ignored when it is available though;linear="no"
documents;What do we want to do for those ones, and possibly others I can’t recall right now?
BTW is highlighting implied?
Swift: It appears that there is interference on FXL with touch handling and actual dragging to move around in the zoomed in view.
We need to add the various JS resources that are currently used on iOS and Android, and ideally make them platform independent in the process.
public removeEventListener(listenerID: number): void { this.call(EventHandlingMessage.RemoveEventListener, [listenerID]); }
The underlying call is async by nature, and the wrapper should reflect it.
For Kotlin, flip and snap is still something we need to fine-tune or replace with js. Here example which does it really well, but unfortunately not for web-view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.