Context Menu is a menu that appears when the user right-clicks on an element. This menu typically contains options related to the current element or action, allowing the user to perform specific operations.
The icon element will be displayed next to the context menu item text.
shortcutKey
string
none
Sets a global shortcut key, such as Control+I. When the user presses the combination key, the context menu item's click event will be triggered. View Keyboard
onClick
(event: Event) => void
none
Event handler called when the user select an item (via mouse or keyboard).