webViewScrollPosition(_:)
Associates a binding to a scroll position with the web view.
Declaration
nonisolated func webViewScrollPosition(_ position: Binding<ScrollPosition>) -> some View
Discussion
See Also
Displaying web content
WebViewWebPageonWebViewImmersiveEnvironmentRequest(shouldAllow:present:dismiss:)webViewBackForwardNavigationGestures(_:)webViewContentBackground(_:)webViewContextMenu(menu:)webViewElementFullscreenBehavior(_:)webViewLinkPreviews(_:)webViewMagnificationGestures(_:)webViewOnScrollGeometryChange(for:of:action:)webViewScrollInputBehavior(_:for:)webViewTextSelection(_:)