Optional
classesAdditional CSS classes to apply to this menu item.
Optional
conditionA function to call or boolean value to determine if this entry appears in the menu.
Optional
groupAn identifier for a group this entry belongs to.
Optional
iconA string containing an HTML icon element for the menu item.
The context menu label. Can be localized.
The function to call when the menu item is clicked.