NavigationTarget

data class NavigationTarget(val scrollIndex: Int, val animate: Boolean = true, val focus: Boolean = true)

Request for field-level scroll navigation. Used by DocumentEditor when navigating to a field or when scrolling to bring a table/collection into view before row navigation.

Parameters

scrollIndex

Pre-computed index in the field list for scrolling.

animate

Whether to animate the scroll.

focus

If true, request focus on the field at scrollIndex after scrolling.

Constructors

Link copied to clipboard
constructor(scrollIndex: Int, animate: Boolean = true, focus: Boolean = true)

Properties

Link copied to clipboard
val animate: Boolean = true
Link copied to clipboard
val focus: Boolean = true
Link copied to clipboard