Skip to main content

webview

Function webview 

Source
pub fn webview(on_ready: impl IntoPayloadCallback<WebView>) -> View
Expand description

Hosts a WebView2 in a windows-reactor UI tree.

Calls on_ready on the UI thread after the XAML control initializes and fails fast if initialization fails.