scrollBy

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

The scrollBy() method of the Element interface scrolls an element by the given amount.

MDN Reference


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