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

    Interface IModalControlPaneBeta

    A sub pane for modal control elements.

    interface IModalControlPane {
        id: string;
        visible: boolean;
        addBool(
            value: IObservableProp<boolean>,
            options?: IBoolPropertyItemOptions,
        ): IBoolPropertyItem;
        addButton(
            action: ButtonPropertyItemSupportedActionTypes,
            options?: IButtonPropertyItemOptions,
        ): IButtonPropertyItem;
        addButtonPane(
            options?: IButtonPanePropertyItemOptions,
        ): IButtonPanePropertyItem;
        addDivider(): IPropertyItemBase;
        hide(): void;
        show(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Unique identifier for the pane.

    visible: boolean

    Check visibility of the pane

    Methods

    • Beta

      Returns void

      Hide the pane.

    • Beta

      Returns void

      Show the pane and all of its items.