DirectionalNavigationAdapter
Helper handling directional UI events (e.g. edge taps or arrow keys) to turn the pages of a VisualNavigator.
This takes into account the reading progression of the navigator to turn pages in the right direction.
Add it to a navigator with addInputListener(DirectionalNavigationAdapter()).
Parameters
: Indicates which viewport edges handle taps.
: Indicates whether the page turns should be handled when the publication is scrollable.
: The minimum horizontal edge dimension triggering page turns, in pixels.
: The percentage of the viewport dimension used to compute the horizontal edge size. When null, minimumHorizontalEdgeSize will be used instead.
: The minimum vertical edge dimension triggering page turns, in pixels.
: The percentage of the viewport dimension used to compute the vertical edge size. When null, minimumVerticalEdgeSize will be used instead.
: Indicates whether the page turns should be animated.