@minecraft
    正在准备搜索索引...

    接口 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.