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

    接口 TextFieldOptions预览版

    Options for configuring a text field component.

    interface TextFieldOptions {
        description?:
            | string
            | ObservableString
            | ObservableUIRawMessage
            | UIRawMessage;
        disabled?: boolean
        | ObservableBoolean;
        visible?: boolean | ObservableBoolean;
    }
    索引

    属性

    Descriptive text shown around the text field label to provide additional context.

    disabled?: boolean | ObservableBoolean

    When true or bound to a true ObservableBoolean, the text field is shown but cannot be edited.

    visible?: boolean | ObservableBoolean

    When false or bound to a false ObservableBoolean, the text field is hidden.