-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Is there any way to retrive text that is currently visible on screen? The closest solution we found while working with readium android/ios toolkit is to refer to EpubNavigatorFragment.firstVisibleElementLocator()
but it is not precise considering our needs, as it usually includes to much text from previous page.
We would like to know is there is a ready to go solution to retrive visible/on tap text. If not can we get any hints how to approach this problem in possible contribution from out side? What can be the biggest problem (if any) to implement similar solution that we may not see yet?
My own first try js injections were giving inconsistent results, and feeling that I need to interact deeper with the redium toolkit. I saw some approach with geting locator from tap like this:
readium/swift-toolkit@6bf37fd