ScrollBehavior

enum ScrollBehavior : Enum<TtScrollBar.ScrollBehavior>

The scrolling behavior defines how the scrollbar moves the target view to the desired position.

Entries

Link copied to clipboard

Scrolls the target view directly to the position of a item in the target view. This behaviour works best when all items in the target view are the same size. When using a scroll bar with a long list of fixed size items. This scrolling behavior will greatly improve the performance.

Link copied to clipboard

Scrolls the target view by pixels.

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int