Dockview
    Preparing search index...

    Interface DockviewPanelApi

    interface DockviewPanelApi {
        component: string;
        group: DockviewGroupPanel;
        height: number;
        id: string;
        isActive: boolean;
        isFocused: boolean;
        isGroupActive: boolean;
        isVisible: boolean;
        location: DockviewGroupLocation;
        onDidActiveChange: DockviewEvent<ActiveEvent>;
        onDidActiveGroupChange: DockviewEvent<ActiveGroupEvent>;
        onDidDimensionsChange: DockviewEvent<PanelDimensionChangeEvent>;
        onDidFocusChange: DockviewEvent<FocusEvent>;
        onDidGroupChange: DockviewEvent<GroupChangedEvent>;
        onDidLocationChange: DockviewEvent<DockviewGroupPanelLocationChangeEvent>;
        onDidParametersChange: DockviewEvent<Parameters>;
        onDidRendererChange: DockviewEvent<RendererChangedEvent>;
        onDidTitleChange: DockviewEvent<TitleEvent>;
        onDidVisibilityChange: DockviewEvent<VisibilityEvent>;
        onWillFocus: DockviewEvent<WillFocusEvent>;
        renderer: DockviewPanelRenderer;
        tabComponent: string | undefined;
        title: string | undefined;
        width: number;
        close(): void;
        exitMaximized(): void;
        getParameters<T extends Parameters = Parameters>(): T;
        getWindow(): Window;
        isMaximized(): boolean;
        maximize(): void;
        moveTo(options: DockviewGroupMoveParams): void;
        setActive(): void;
        setConstraints(value: GridConstraintChangeEvent2): void;
        setRenderer(renderer: DockviewPanelRenderer): void;
        setSize(event: SizeEvent): void;
        setTitle(title: string): void;
        updateParameters(parameters: Parameters): void;
    }

    Hierarchy

    Index

    Properties

    component: string

    The id of the component renderer

    height: number

    The panel height in pixels

    id: string

    The id of the panel that would have been assigned when the panel was created

    isActive: boolean

    Whether the panel is the actively selected panel

    isFocused: boolean

    Whether the panel holds the current focus

    isGroupActive: boolean
    isVisible: boolean

    Whether the panel is visible

    onDidActiveChange: DockviewEvent<ActiveEvent>
    onDidActiveGroupChange: DockviewEvent<ActiveGroupEvent>
    onDidFocusChange: DockviewEvent<FocusEvent>
    onDidGroupChange: DockviewEvent<GroupChangedEvent>
    onDidParametersChange: DockviewEvent<Parameters>
    onDidRendererChange: DockviewEvent<RendererChangedEvent>
    onDidTitleChange: DockviewEvent<TitleEvent>
    onDidVisibilityChange: DockviewEvent<VisibilityEvent>
    onWillFocus: DockviewEvent<WillFocusEvent>
    tabComponent: string | undefined

    The id of the tab component renderer

    Undefined if no custom tab renderer is provided

    title: string | undefined
    width: number

    The panel width in pixels

    Methods