fix: dblclick instead of doubleclick
This commit is contained in:
1 parent
165327857b
commit
841ad91fe1
5 files changed
+89
-53
No files matched your search
@@ -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!')"
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user