Skip to content

types

Type Aliases

type MenuItem: object;

A menu item contains the necessary information to render a menu item in the context menu.

Type declaration

action()
action: () => void;

Action to execute on selection

Returns

void

description
description: string;

The description of the menu item

id
id: string;
label
label: string;

The label of the menu item

path
path: string[];

The path of the menu item

tags
tags: string[];

The search tags of the menu item

Defined in

tmp/commons/src/lib/components/menu/types.ts:4