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

    Interface ISubPaneHeaderOptionsBeta

    Options to create a fixed-layout header for a sub pane.

    interface ISubPaneHeaderOptions {
        checkbox?: ISubPaneHeaderCheckboxOptions;
        clickToExpand?: boolean;
        menu?: IMenuCreationParams[];
        onMenuClicked?: (menuId: string) => void;
    }
    Index

    Properties

    Prebaked left: optional multiselect checkbox, rendered before the chevron.

    clickToExpand?: boolean

    If false, clicking the non-widget header background does not toggle expand. Default true.

    Prebaked right: optional overflow menu entries.

    onMenuClicked?: (menuId: string) => void

    Called when a header menu item is clicked.