//! An example where the dioxus vdom is running in a native thread, interacting with webview //! Content is passed from the native thread into the webview use dioxus_core::prelude::*; fn main() { dioxus_webview::launch( // Customize the webview |builder| { builder .title("Test Dioxus App") .size(320, 480) .resizable(true) .debug(true) }, // Props (), // Draw the root component Example, ) .expect("Webview finished"); } static Example: FC<()> = |ctx, _props| { ctx.render(html! {