Internal
Optional
Readonly
iconIcon classes for the menu node. If present, these will produce an icon to the left of the label in browser-style menus.
Readonly
idtechnical identifier.
Readonly
labelOptional label. Will be rendered as text of the menu item.
Optional
onReadonly
sortMenu nodes are sorted in ascending order based on their sortString
.
Rest
...args: unknown[]
Metadata for the visual presentation of a node. For most uses cases, refer to MenuNode, CommandMenuNode, or CompoundMenuNode