scrollBy

open 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


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