@minecraft/server-editor
    Preparing search index...

    Interface IListPaneViewControlPaneOptionsBeta

    interface IListPaneViewControlPaneOptions {
        actions?: ListViewControlAction[];
        filterFlags?: ListViewControlFilterFlags;
        onActionClicked?: (id: string) => void;
        onFilterChanged?: (visibleSlotIds: string[]) => void;
        sortOptions?: ListPaneViewSortType[];
        visible?: boolean;
    }
    Index

    Properties

    Default actions

    Flags to determine visible filters. If undefined it will be All.

    onActionClicked?: (id: string) => void

    This function will be called whenever user clicks an action

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

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

    sortOptions?: ListPaneViewSortType[]

    Custom sort options. If undefined, list pane sort options will be used.

    visible?: boolean

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