onScrollChanged method

void onScrollChanged(
  1. int x,
  2. int y
)

Event fired when the PlatformInAppBrowser webview scrolls.

x represents the current horizontal scroll origin in pixels.

y represents the current vertical scroll origin in pixels.

NOTE for MacOS: this method is implemented with using JavaScript.

Officially Supported Platforms/Implementations:

Implementation

void onScrollChanged(int x, int y) {}