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

    Interface IListPaneViewControlPaneBeta

    View control for a list pane to manage how slots are displayed

    interface IListPaneViewControlPane {
        id: string;
        isFilterActive: boolean;
        visible: boolean;
        getActionState(id: string): ListViewControlActionState | undefined;
        setActionEnabledState(id: string, enabled: boolean): void;
        setActionStates(newActions: ListViewControlAction[]): void;
        setVisible(visible: boolean): void;
        updateActionState(id: string, newState: ListViewControlActionState): void;
    }
    Index

    Properties

    id: string

    Unique identifier

    isFilterActive: boolean

    Active state of the filter

    visible: boolean

    Visible state of the pane

    Methods

    • Beta

      Parameters

      • id: string

        Identifier for the action

      • enabled: boolean

        New action enabled state

      Returns void

      Updates enabled state of the existing action

    • Beta

      Parameters

      • visible: boolean

        New visibility state

      Returns void

      Updates visible state of the pane

    • Beta

      Parameters

      Returns void

      Updates action item state for the view control