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

    Interface ISubPaneHeaderBeta

    A fixed-layout header that replaces the default expander header of a sub pane. Only the two dynamic widgets are add*-able; they land in the right region, in call order, just left of the menu.

    interface ISubPaneHeader {
        id: string;
        visible: boolean;
        addColorPicker(
            value: IObservableProp<RGBA>,
            options?: ISubPaneHeaderColorOptions,
        ): ISubPaneHeaderColorItem;
        addIconButton(
            action: ButtonPropertyItemSupportedActionTypes,
            options: ISubPaneHeaderButtonOptions,
        ): ISubPaneHeaderButtonItem;
        hide(): void;
        setMenu(entries: IMenuCreationParams[]): 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

      Parameters

      Returns void

      Replaces the overflow menu entries of the header.

    • Beta

      Returns void

      Show the pane and all of its items.