scroll abstract method
VKWebAppScroll
initiates vertical scrolling of the browser window.
Platforms: Web, Mobile Web
top
- scroll offset relative to the zero coordinate of the window.
For example, in order to scroll the window to the very top of the page,
you must pass the value 0.
speed
- animation speed in milliseconds. The default is 0.
Implementation
Future<VKWebAppScrollResult> scroll({
required int top,
int speed = 0,
});