Skip to content

Commit a1deca3

Browse files
committed
docs: add injectBrowserAction comment
1 parent 3c7051f commit a1deca3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/electron-chrome-extensions/src/browser-action.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { ipcRenderer, contextBridge, webFrame } from 'electron'
22

3+
/**
4+
* Injects `<browser-action>` custom element into the current webpage.
5+
*/
36
export const injectBrowserAction = () => {
47
// Load node:events directly from Electron rather than bundling
58
const { EventEmitter } = require('node:events')

0 commit comments

Comments
 (0)