Feat: WIP on deserialize
This commit is contained in:
1 parent
8439994859
commit
f22ff83190
15 files changed
+140
-21
No files matched your search
@@ -9,3 +9,6 @@ edition = "2018"
|
||||
[dependencies]
|
||||
web-view = "0.7.2"
|
||||
dioxus-core = { path = "../core" }
|
||||
|
||||
|
||||
[build-dependencies]
|
||||
@@ -0,0 +1,5 @@
|
||||
// todo
|
||||
// build the .wasm bundle directly from this build script
|
||||
// the bundle should never change (and not be linked to user code)]
|
||||
|
||||
fn main() {}
|
||||
Whitespace-only changes.
@@ -0,0 +1,20 @@
|
||||
//! An example where the dioxus vdom is running in a native thread, interacting with webview
|
||||
|
||||
fn main() {
|
||||
let html_content = "<div>Hello world!</div>";
|
||||
|
||||
web_view::builder()
|
||||
.title("My Project")
|
||||
.content(web_view::Content::Html(html_content))
|
||||
.size(320, 480)
|
||||
.resizable(true)
|
||||
.debug(true)
|
||||
.user_data(())
|
||||
.invoke_handler(|view, arg| {
|
||||
//
|
||||
|
||||
Ok(())
|
||||
})
|
||||
.run()
|
||||
.unwrap();
|
||||
}
|
||||
Reference in new issue
Block a user