mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-12 12:48:50 +00:00
22 lines
347 B
Rust
22 lines
347 B
Rust
|
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() {}
|
||
|
};
|
||
|
|
||
|
let g = rsx! {
|
||
|
button {
|
||
|
button {
|
||
|
onclick: {handler}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
};
|
||
|
}
|