Represents the Sources panel.

interface SourcesPanel {
    onSelectionChanged: WebExtEvent<() => void>;
    createSidebarPane?(title: string): Promise<ExtensionSidebarPane>;
}
Index
onSelectionChanged: WebExtEvent<() => void>

Fired when an object is selected in the panel.

Unsupported on Firefox at this time.

  • Creates a pane within panel's sidebar.

    Parameters

    • title: string

      Text that is displayed in sidebar caption.

    Returns Promise<ExtensionSidebarPane>

    Unsupported on Firefox at this time.