接口 IButtonPropertyItem实验性

A property item which supports Button properties

interface IButtonPropertyItem {
    enable: boolean;
    id: string;
    paneId: string;
    typeName: PropertyItemType;
    visible: boolean;
    replaceAction(action: RegisteredAction<NoArgsAction>): void;
    setIcon(icon: string): void;
    setTitle(title: LocalizedString): void;
    setTooltip(tooltip: LocalizedString): void;
}

层级 (查看完整内容)

属性

enable: boolean

If the item is enabled in the UI.

id: string

Unique ID for the property item.

paneId: string

The parent pane id.

The type name of the target property.

visible: boolean

If the item should be visible in the UI.

方法