Dockview
    Preparing search index...

    Interface PanelApi

    interface PanelApi {
        component: string;
        height: number;
        id: string;
        isActive: boolean;
        isFocused: boolean;
        isVisible: boolean;
        onDidActiveChange: DockviewEvent<ActiveEvent>;
        onDidDimensionsChange: DockviewEvent<PanelDimensionChangeEvent>;
        onDidFocusChange: DockviewEvent<FocusEvent>;
        onDidParametersChange: DockviewEvent<Parameters>;
        onDidVisibilityChange: DockviewEvent<VisibilityEvent>;
        onWillFocus: DockviewEvent<WillFocusEvent>;
        width: number;
        getParameters<T extends Parameters = Parameters>(): T;
        setActive(): void;
        setVisible(isVisible: boolean): void;
        updateParameters(parameters: Parameters): void;
    }

    Hierarchy (View Summary)

    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

    isVisible: boolean

    Whether the panel is visible

    onDidActiveChange: DockviewEvent<ActiveEvent>
    onDidFocusChange: DockviewEvent<FocusEvent>
    onDidParametersChange: DockviewEvent<Parameters>
    onDidVisibilityChange: DockviewEvent<VisibilityEvent>
    onWillFocus: DockviewEvent<WillFocusEvent>
    width: number

    The panel width in pixels

    Methods

    • Parameters

      • isVisible: boolean

      Returns void