DioxusLabs / DioxusLabs/dioxus
Declarative Menu Item Components
Open
desktop
enhancement
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
## Specific Demand
You should be able to declare your desktop/mobile menu with components instead of using the config builder.
## Implement Suggestion
You can use components with the desktop context to modify the menu and window:
```rust
render! {
Window {
title: "My Application",
Menu {
Item {
onclick: |_| println!("help clicked"),
}
}
}
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.