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

    接口 ICollectionTreePropertyItem

    A property item which supports creating nested folders of collection items

    interface ICollectionTreePropertyItem {
        enable: boolean;
        folderCount: number;
        id: string;
        paneId: string;
        typeName: PropertyItemType;
        viewSortType: CollectionTreeSortType;
        visible: boolean;
        addFolder(options: ICollectionTreeFolderOptions): ICollectionTreeFolder;
        forEachFolder(callback: (folder: ICollectionTreeFolder) => boolean): void;
        getFolder(id: string): ICollectionTreeFolder;
        setViewSortType(sortType: CollectionTreeSortType): void;
    }

    层级 (查看层级一览)

    索引

    属性

    enable: boolean

    If the item is enabled in the UI.

    folderCount: number

    Count of the child folders

    id: string

    Unique ID for the property item.

    paneId: string

    The parent pane id.

    The type name of the target property.

    Sort type for the folders.

    visible: boolean

    If the item should be visible in the UI.

    方法