onScrollChanged method

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

Event fired when the InAppBrowser webview scrolls.

x represents the current horizontal scroll origin in pixels.

y represents the current vertical scroll origin in pixels.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#onScrollChanged(int,%20int,%20int,%20int)

Official iOS API: https://developer.apple.com/documentation/uikit/uiscrollviewdelegate/1619392-scrollviewdidscroll

Implementation

void onScrollChanged(int x, int y) {}