1
0

boolean_attribute.rs 303 B

1234567891011121314151617
  1. #![allow(non_snake_case)]
  2. use dioxus::prelude::*;
  3. fn main() {
  4. dioxus_desktop::launch(App);
  5. }
  6. fn App(cx: Scope) -> Element {
  7. // ANCHOR: boolean_attribute
  8. cx.render(rsx! {
  9. div {
  10. hidden: "false",
  11. "hello"
  12. }
  13. })
  14. // ANCHOR_END: boolean_attribute
  15. }