AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface ChromeBrowserActions

    APIs for interacting with Chromium extension actions from an initialized ChromeBrowser window.

    interface ChromeBrowserActions {
        state: Readable<ExtensionActionListItem[]>;
        getExtensionActions(): Promise<ExtensionActionListItem[]>;
        hideActiveExtensionPopup(): Promise<void>;
        invokeExtensionAction(options: ExtensionActionInvokeOptions): Promise<void>;
    }
    Index

    Reactive value reflecting the current extension action list. Compatible with React's useSyncExternalStore.

    • Hides the active extension popup, if any.

      Returns Promise<void>

    • Executes the specified extension action.

      Parameters

      Returns Promise<void>

      This may trigger an extension popup to be shown by the Runtime if the extension has a popup configured for the currently active tab.