DioxusLabs / DioxusLabs/dioxus

Declarative Menu Item Components

Open
#1,336 0 comments 3 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.