Skip to main content

WebViewScrollEvent

Event payload for WebView.on_scroll.

Emitted when the page scroll position changes.

Inherits: Event

Properties

  • x - The value of the horizontal offset with the origin being at the leftmost of the WebView.
  • y - The value of the vertical offset with the origin being at the topmost of the WebView.

Properties

xinstance-attribute

x: float

The value of the horizontal offset with the origin being at the leftmost of the WebView.

yinstance-attribute

y: float

The value of the vertical offset with the origin being at the topmost of the WebView.