pub fn webview(on_ready: impl IntoPayloadCallback<WebView>) -> ViewExpand 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.
pub fn webview(on_ready: impl IntoPayloadCallback<WebView>) -> ViewHosts 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.