DirectionalNavigationAdapter
constructor(navigator: OverflowableNavigator, tapEdges: Set<DirectionalNavigationAdapter.TapEdge> = setOf(TapEdge.Horizontal), handleTapsWhileScrolling: Boolean = false, minimumHorizontalEdgeSize: Double = 80.0, horizontalEdgeThresholdPercent: Double? = 0.3, minimumVerticalEdgeSize: Double = 80.0, verticalEdgeThresholdPercent: Double? = 0.3, animatedTransition: Boolean = false)
Parameters
tapEdges
: Indicates which viewport edges handle taps.
handleTapsWhileScrolling
: Indicates whether the page turns should be handled when the publication is scrollable.
minimumHorizontalEdgeSize
: The minimum horizontal edge dimension triggering page turns, in pixels.
horizontalEdgeThresholdPercent
: The percentage of the viewport dimension used to compute the horizontal edge size. When null, minimumHorizontalEdgeSize will be used instead.
minimumVerticalEdgeSize
: The minimum vertical edge dimension triggering page turns, in pixels.
verticalEdgeThresholdPercent
: The percentage of the viewport dimension used to compute the vertical edge size. When null, minimumVerticalEdgeSize will be used instead.
animatedTransition
: Indicates whether the page turns should be animated.