scrollIntoView

fun scrollIntoView(margin: Double = 0.0)(source)

Scrolls the elements that scroll this element so that it is in view, with margin pixels around it, each by its StyleSheet.scrollBehavior