ScrollRendererGotoScrollBehavior

Different behaviors related to when a scrolling renderer should scroll when performing a ReaderView.goTo().

Entries

Link copied to clipboard

The renderer will not scroll if the location is inside the reading area. Otherwise, it will scroll so that the target location is at the top of the reading area.

Link copied to clipboard

The renderer will not scroll if the location is inside the visible range. Otherwise, it will scroll so that the target location is at the top of the reading area.

Link copied to clipboard

Always scroll so that the target location is at the top of the reading area.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.