SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ITaskPaneAreaElement

    interface ITaskPaneAreaElement {
        activate: <A = any>(
            key: string,
            options?: ActivateFrameOptions<A>,
        ) => void;
        addListener: (listener: ITaskPaneAreaListener) => RemoveListener;
        close: (key: string) => Promise<void>;
        getActive: () => string | null;
        getOpen: () => readonly string[];
    }

    Hierarchy (View Summary)

    Index
    activate: <A = any>(key: string, options?: ActivateFrameOptions<A>) => void

    This will show and focus a task pane by key.

    Type Declaration

    addListener: (listener: ITaskPaneAreaListener) => RemoveListener

    Add a listener for task pane state changes.

    close: (key: string) => Promise<void>

    Will close the task pane with the given key.

    Type Declaration

      • (key: string): Promise<void>
      • Parameters

        • key: string

          The task pane key.

        Returns Promise<void>

    getActive: () => string | null

    Return the key for the currently active task pane.

    getOpen: () => readonly string[]

    Returns the list of currently open task panes.