Internal
Optional
_sortString: stringOptional
_when: stringPrivate
Optional
Readonly
_sortPrivate
Optional
Readonly
_whenPrivate
Readonly
delegatetechnical identifier.
Menu nodes are sorted in ascending order based on their sortString
.
Whether the group or submenu contains any visible children
The menu path where visibility is checked
The context matcher to use
the context to use
Rest
...args: unknown[]the command arguments, if applicable
Rest
...args: unknown[]
For most use cases, refer to MenuAction or MenuNode