接口 IActionBarItemCreationParams实验性

Properties required to create an Action Bar item.

interface IActionBarItemCreationParams {
    enabled?: boolean;
    icon: string;
    label: string;
    tooltipDescription?: string;
    tooltipTitle?: string;
}

属性

enabled?: boolean

Initial enabled state of the item. If not defined, default is true.

icon: string

Icon resource for the item.

label: string

Text label for item.

tooltipDescription?: string

Tooltip description for the item.

tooltipTitle?: string

Tooltip title for the item.