scrollIntoView

fun scrollIntoView(options: ScrollIntoViewOptions = definedExternally)(source)

MDN Reference