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

    接口 ICollectionTreeViewControlPaneOptions

    interface ICollectionTreeViewControlPaneOptions {
        actions?: ListViewControlAction[];
        onActionClicked?: (id: string) => void;
        onFilterChanged?: (visibleFolders: string[]) => void;
        sortOptions?: CollectionTreeSortType[];
        visible?: boolean;
    }

    层级 (查看层级一览)

    索引

    属性

    Default actions

    onActionClicked?: (id: string) => void

    This function will be called whenever user clicks an action

    onFilterChanged?: (visibleFolders: string[]) => void

    This function will be called whenever the filter is changed by the user

    sortOptions?: CollectionTreeSortType[]

    Custom sort options. If undefined, collection tree sort options will be used.

    visible?: boolean

    Initial visibility state. It undefined, it will be false.