It is used to define sub item info.

interface AddSubItemType {
    elementType: FR_Ribbon_Element_Type;
    isChangeFun: boolean;
    isChangeImage: boolean;
    isOnTop: boolean;
    name: string;
    pos: number;
    title: string;
}

Properties

The element type of the sub item.

isChangeFun: boolean

Whether the function of the sub item is changed.

isChangeImage: boolean

Whether the image of the sub item is changed.

isOnTop: boolean

Whether the sub item is on top.

name: string

The name of the sub item.

pos: number

The position of the sub item.

title: string

The title of the sub item.