scroll

open external fun scroll(options: ScrollToOptions = definedExternally): Promise<Void>?(source)

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

MDN Reference


open external fun scroll(x: Double, y: Double): Promise<Void>?(source)