14 lines
354 B
TypeScript
14 lines
354 B
TypeScript
export interface ToolbarItem {
|
|
name: string;
|
|
faicon?: string;
|
|
icon?: string;
|
|
hidden?: boolean;
|
|
toggle?: boolean;
|
|
individualToggle?: boolean;
|
|
click?: (item?: ToolbarItem) => void;
|
|
enabled?: boolean;
|
|
onEnabled?: (item?: ToolbarItem) => void;
|
|
onDisabled?: (item?: ToolbarItem) => void;
|
|
subMenu?: ToolbarItem[];
|
|
}
|