Skip to main content

Interface: MoreMenuItemRegistration

Defined in: types/frontend.ts:372

Registration for a "More" menu item.

Properties

icon

icon: PluginComponentType

Defined in: types/frontend.ts:380

Icon component for the menu item


id

id: string

Defined in: types/frontend.ts:374

Unique menu item identifier


label

label: string

Defined in: types/frontend.ts:377

Display label for the menu item


onClick()

onClick: (context) => void

Defined in: types/frontend.ts:389

Callback when the menu item is clicked

Parameters

ParameterType
contextTerminalActionContext

Returns

void


order?

optional order: number

Defined in: types/frontend.ts:392

Sort order among menu items (lower = higher in the menu)


showFor

showFor: string | string[]

Defined in: types/frontend.ts:386

AI modes this menu item appears for. Use '*' to show for all modes, or specify specific mode strings.