fix: dblclick instead of doubleclick

This commit is contained in:
Jonathan Kelley committed 2022-03-11 10:49:38 -05:00
1 parent 165327857b
commit 841ad91fe1
5 files changed
+89 -53

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
use dioxus::prelude::*;
fn main() {
dioxus::desktop::launch(app);
}
fn app(cx: Scope) -> Element {
cx.render(rsx! {
div {
button {
ondblclick: move |_| {
//
println!("double clicked!");
},
"Click me!"
}
input {
onfocusin: move |_| {
//
println!("blurred!");
},
"onblur": "console.log('blurred!')"
}
}
})
}