scroll

fun scroll(options: ScrollToOptions = definedExternally)(source)

The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.

MDN Reference


fun scroll(x: Double, y: Double)(source)