map-alliance/src/app/models/toolbarItem.ts
2019-08-30 16:41:30 -04:00

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[];
}