onScrollChanged method
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:
- Android native WebView (Official API - WebView.onScrollChanged)
- iOS (Official API - UIScrollViewDelegate.scrollViewDidScroll)
- MacOS
Implementation
void onScrollChanged(int x, int y) {}