Skip to content

RedDokia API Reference / RedDokiaTabContextMenuItem

Interface: RedDokiaTabContextMenuItem ​

Custom menu item rendered in the right-click tab context menu via tabContextMenu.

Properties ​

PropertyTypeDescription
action() => voidCallback executed when the user clicks this menu item.
danger?booleanStyles the menu item in destructive/danger red when true.
disabled?booleanDisables the menu item and prevents clicking when true.
dividerBefore?booleanRenders a horizontal separator line immediately above this item when true.
icon?RedDokiaIconValueOptional leading icon for the menu item.
idstringUnique identifier of the context menu item.
labelstringDisplay label of the menu action.
shortcut?stringOptional shortcut hint rendered on the right side of the menu item.