rsx_autocomplete.rs 498 B

123456789101112131415161718192021222324252627
  1. //! This example shows that autocomplete works in RSX
  2. use dioxus::prelude::*;
  3. fn main() {
  4. dioxus::desktop::launch(app);
  5. }
  6. fn app(cx: Scope) -> Element {
  7. cx.render(rsx! {
  8. div {
  9. onclick: move |_| {
  10. }
  11. // class: "asd",
  12. // style {
  13. // media: "Ad",
  14. // }
  15. // div {
  16. // }
  17. // {
  18. // let t = String::new();
  19. // t.
  20. // }
  21. }
  22. })
  23. }