mlrv / electron-shortcuts

Type Safe Electron shortcuts
MIT License
11 stars 1 forks source link

How about bind WebContents #3

Open shownoso opened 3 years ago

shownoso commented 3 years ago

register("Command+a", () => {}, BrowserWindow.webContents) register("Command+a", () => {}, BrowserView.webContents) register("Command+a", () => {}, webContents.fromId(webview.getWebContentsId()))