Aller au contenu

types

Ce contenu n’est pas encore disponible dans votre langue.

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