Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement menu.Item role attribute #6

Open
nickav opened this issue Feb 14, 2022 · 0 comments
Open

implement menu.Item role attribute #6

nickav opened this issue Feb 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nickav
Copy link
Collaborator

nickav commented Feb 14, 2022

In order to handle native menu options in a cross platform way, electron introduces a role attribute.

This would correspond to wry's add_native_item method. Examples: https://github.com/tauri-apps/wry/blob/dev/examples/menu_bar.rs#L41

@progrium progrium added the enhancement New feature or request label Mar 24, 2022
@progrium progrium changed the title [feature] implement menu.Item role attribute implement menu.Item role attribute Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants