UNPKG

410 BTypeScriptView Raw
1export declare enum NodeMenuItemAction {
2 NewFolder = 0,
3 NewTag = 1,
4 Rename = 2,
5 Remove = 3,
6 Custom = 4
7}
8export declare enum NodeMenuAction {
9 Close = 0
10}
11export interface NodeMenuEvent {
12 sender: HTMLElement;
13 action: NodeMenuAction;
14}
15export interface NodeMenuItemSelectedEvent {
16 nodeMenuItemAction: NodeMenuItemAction;
17 nodeMenuItemSelected?: string;
18}