@minecraft
    正在准备搜索索引...

    接口 ISubPaneHeader

    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;
    }

    层级 (查看层级一览)

    索引

    属性

    id: string

    Unique identifier for the pane.

    visible: boolean

    Check visibility of the pane

    方法