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

    接口 ITextPropertyItemOptions

    Optional properties for Text property item

    interface ITextPropertyItemOptions {
        alignment?: LayoutAlignment;
        border?: boolean;
        enable?: boolean;
        title?: LocalizedString;
        visible?: boolean;
    }

    层级 (查看层级一览)

    索引

    属性

    alignment?: LayoutAlignment

    Determines alignment of the text. If undefined, it will default to left aligned.

    border?: boolean

    Adds a border around the text. If undefined, it will default to true.

    enable?: boolean

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

    Localized title of the text item.

    visible?: boolean

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