接口 IButtonPropertyItemOptions实验性

Optional properties for Button property item

interface IButtonPropertyItemOptions {
    enable?: boolean;
    hiddenLabel?: boolean;
    icon?: string;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    variant?: ButtonPropertyItemVariant;
    visible?: boolean;
}

层级 (查看完整内容)

属性

enable?: boolean

Initial enabled state of property item. If undefined, it will default to true.

hiddenLabel?: boolean

If true label text will be hidden. It will be visible by default.

icon?: string

Icon image of the property item.

Localized title of the property item.

tooltip?: LocalizedString

Tooltip description of the property item.

The variant for the button. By default it is Primary.

visible?: boolean

Initial visibility state of property item. If undefined, it will default to true.