map-alliance/src/app/models/toolbarItem.ts

14 lines
300 B
TypeScript

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