Focus On Reading Position Options
data class FocusOnReadingPositionOptions(val focusOnPageContainer: Boolean, val focusOnPageBodyElement: Boolean, val focusNearContentLocation: Boolean)
Options related to ReaderView.focusOnReadingPosition() deciding which elements should receive focus.
When multiple properties are set to true, focus is applied in the following order:
Page container iframe (focusOnPageContainer)
Page body element (focusOnPageBodyElement)
Reading position element (focusNearContentLocation)
At least one property must be set to true for any focus action to be performed.
Constructors
Link copied to clipboard
fun FocusOnReadingPositionOptions(focusOnPageContainer: Boolean, focusOnPageBodyElement: Boolean, focusNearContentLocation: Boolean)