MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / invokeDevMethod

Function invokeDevMethod

electron/context-menu.js:8–10  ·  view source on GitHub ↗
(win, name)

Source from the content-addressed store, hash-verified

6} from './menu/common'
7
8const invokeDevMethod = (win, name) => win.webContents.executeJavaScript(
9 `window.invokeDevMethod && window.invokeDevMethod('${name}')`,
10)
11
12export const registerContextMenu = (win) => {
13 const { config } = readConfig()

Callers 1

registerContextMenuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected