docs: menu item labels are not dynamic (#21823)
This commit is contained in:
parent
64a2490efe
commit
38947f43de
1 changed files with 5 additions and 4 deletions
|
@ -130,8 +130,7 @@ dynamically changed.
|
||||||
|
|
||||||
#### `menuItem.label`
|
#### `menuItem.label`
|
||||||
|
|
||||||
A `String` indicating the item's visible label, this property can be
|
A `String` indicating the item's visible label.
|
||||||
dynamically changed.
|
|
||||||
|
|
||||||
#### `menuItem.click`
|
#### `menuItem.click`
|
||||||
|
|
||||||
|
@ -165,7 +164,7 @@ item's icon, if set.
|
||||||
|
|
||||||
#### `menuItem.sublabel`
|
#### `menuItem.sublabel`
|
||||||
|
|
||||||
A `String` indicating the item's sublabel, this property can be dynamically changed.
|
A `String` indicating the item's sublabel.
|
||||||
|
|
||||||
#### `menuItem.toolTip` _macOS_
|
#### `menuItem.toolTip` _macOS_
|
||||||
|
|
||||||
|
@ -197,7 +196,9 @@ You can add a `click` function for additional behavior.
|
||||||
#### `menuItem.registerAccelerator`
|
#### `menuItem.registerAccelerator`
|
||||||
|
|
||||||
A `Boolean` indicating if the accelerator should be registered with the
|
A `Boolean` indicating if the accelerator should be registered with the
|
||||||
system or just displayed, this property can be dynamically changed.
|
system or just displayed.
|
||||||
|
|
||||||
|
This property can be dynamically changed.
|
||||||
|
|
||||||
#### `menuItem.commandId`
|
#### `menuItem.commandId`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue