Doc role defaults
This commit is contained in:
parent
5096d7835f
commit
c98f419bc8
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ It is best to specify `role` for any menu item that matches a standard role,
|
|||
rather than trying to manually implement the behavior in a `click` function.
|
||||
The built-in `role` behavior will give the best native experience.
|
||||
|
||||
The `label` and `accelerator` are optional when using a `role` and will default
|
||||
to appropriate values for each platform.
|
||||
|
||||
The `role` property can have following values:
|
||||
|
||||
* `undo`
|
||||
|
|
Loading…
Add table
Reference in a new issue