Feat: add webview example
This commit is contained in:
1 parent
7730fd4a8c
commit
65d0d611ea
11 files changed
+84
-38
No files matched your search
@@ -37,7 +37,7 @@ impl<T> WebviewRenderer<T> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
pub async fn launch(self, props: T) {
|
||||
pub fn launch(self, props: T) {
|
||||
let mut ctx = Context { props: &props };
|
||||
let WebviewRenderer { root } = self;
|
||||
let content = root(&mut ctx);
|
||||
|
||||
Reference in new issue
Block a user