It is used to define the menus of the application.

The index of the menu item.

The icon of the menu item.

The title of the menu item.

The name of the menu item.

The tooltip of the menu item.

The describeText of the menu item.

Whether the menu item is a separator.

The function to be executed when the menu item is clicked.

Whether the menu item is enabled.

interface MenusType {
    menuItems: {
        describeText: string;
        executeProc: Function;
        icon: string;
        index: number;
        isEnable: boolean;
        isSeparator: boolean;
        name: string;
        title: string;
        tooltip: string;
    }[];
}

Properties

Properties

menuItems: {
    describeText: string;
    executeProc: Function;
    icon: string;
    index: number;
    isEnable: boolean;
    isSeparator: boolean;
    name: string;
    title: string;
    tooltip: string;
}[]

The menu items of the application.