Dockview
    Preparing search index...

    Type Alias AddPanelOptions<P>

    AddPanelOptions: {
        component: string;
        id: string;
        inactive?: boolean;
        initialHeight?: number;
        initialWidth?: number;
        params?: P;
        renderer?: DockviewPanelRenderer;
        tabComponent?: string;
        title?: string;
    } & Partial<AddPanelOptionsUnion> & Partial<Constraints>

    Type Parameters

    Type Declaration

    • component: string

      The id of the component renderer

    • id: string

      The unique id for the panel

    • Optionalinactive?: boolean

      If true then add the panel without setting it as the active panel.

      Defaults to false which forces newly added panels to become active.

    • OptionalinitialHeight?: number
    • OptionalinitialWidth?: number
    • Optionalparams?: P
    • Optionalrenderer?: DockviewPanelRenderer

      The rendering mode of the panel.

      This dictates what happens to the HTML of the panel when it is hidden.

    • OptionaltabComponent?: string

      The id of the tab componnet renderer

    • Optionaltitle?: string

      The title for the panel which can be accessed within both the tab and component.

      If using the default tab renderer this title will be displayed in the tab.