Using Navigator in Compose functions #462
-
Is that possible to use Readium in 1 activity model app? How can i use Navigator fragment in Compose Functions, and how can i make each word in publication clickable? Thank for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It should be possible to use the navigators with Jetpack Compose with the interoperability APIs. As for making each word clickable, it's not a feature of the toolkit. However you could inject your own JavaScript files using: #260 (comment) and the JavaScript interface APIs: https://github.com/readium/kotlin-toolkit/blob/develop/CHANGELOG.md#navigator-7 |
Beta Was this translation helpful? Give feedback.
It should be possible to use the navigators with Jetpack Compose with the interoperability APIs.
As for making each word clickable, it's not a feature of the toolkit. However you could inject your own JavaScript files using: #260 (comment)
and the JavaScript interface APIs: https://github.com/readium/kotlin-toolkit/blob/develop/CHANGELOG.md#navigator-7