add examples for onmounted

This commit is contained in:
Evan Almloff committed 2023-03-24 11:32:42 -05:00
1 parent e0d46d9820
commit a551c0fcb8
5 files changed
+135 -3

No files matched your search

-2
View File
@@ -88,12 +88,10 @@ impl RenderedElementBacking for DesktopElement {
self.id.0, focus
);
println!("script: {}", script);
let fut = self
.query
.new_query::<bool>(&script, &self.webview)
.resolve();
println!("fut");
Box::pin(async move {
match fut.await {