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

    接口 DropdownItem实验性

    Dropdown data for use in CustomForm.

    interface DropdownItem {
        description?: string;
        label: string;
        value: number;
    }
    索引

    属性

    description?: string

    The description of the dropdown item shown when it is selected.

    label: string

    The label of the dropdown item in the dropdown.

    value: number

    The value the dropdown will be set to when this item is selected.