dioxus/examples/_examples/events.rs

22 lines
380 B
Rust
Raw Normal View History

2021-06-17 22:00:32 +00:00
use dioxus_core as dioxus;
use dioxus_core::events::on::*;
use dioxus_core::prelude::*;
fn main() {}
fn autocomplete() {
// let handler = move |evt| {
// let r = evt.alt_key();
// if evt.alt_key() {}
// };
2021-06-17 22:00:32 +00:00
// let g = rsx! {
// button {
// button {
// onclick: {handler}
// }
// }
2021-06-17 22:00:32 +00:00
// };
2021-06-17 22:00:32 +00:00
}