electron/lib/browser/api
t57ser 41b2945ced
feat: add ability to configure if window should close when opener closes (#31314)
* feat: Added ability to configure if window should close when opener closes

* fix: check if embedder is destroyed

* fix: correctly take over closeWithOpener property

* chore: Added documentation

* Update docs/api/window-open.md

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>

* chore: refactor

Co-authored-by: Jeremy Rose <nornagon@nornagon.net>

* chore: changed property name from `closeWithOpener` to `outlivesOpener`

* dummy change to kick lint

* undo above

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
2022-02-23 16:59:50 +09:00
..
auto-updater chore: update to latest TypeScript (#32596) 2022-01-31 20:37:40 +09:00
exports
views build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
app.ts feat: add commandLine.removeSwitch (#30933) 2021-10-06 16:45:58 -04:00
auto-updater.ts
base-window.ts feat: add BrowserWindow.isFocusable() (#28642) 2021-04-21 12:32:19 +02:00
browser-view.ts
browser-window.ts fix: adjust initial webContents focus calculation (#29204) 2021-05-19 02:27:35 -07:00
content-tracing.ts
crash-reporter.ts feat: allow omitting submitURL when uploadToServer is false (#28105) 2021-03-18 14:15:19 -07:00
desktop-capturer.ts feat: make desktopCapturer main-process-only (#30720) 2021-10-04 12:16:00 +09:00
dialog.ts feat: add width option to dialog.showMessageBox() (#30474) 2021-09-23 19:56:14 +09:00
global-shortcut.ts
in-app-purchase.ts refactor: ginify InAppPurchase (#24674) 2020-07-23 14:55:41 -07:00
ipc-main.ts
menu-item-roles.ts feat: add Substitutions menu roles on macOS (#32024) 2022-01-06 10:41:28 -08:00
menu-item.ts feat: add MenuItem.userAccelerator property (#26682) 2021-06-29 16:28:16 -07:00
menu-utils.ts fix: order menu items before filtering excess separators (#25563) 2020-09-23 10:39:08 -07:00
menu.ts refactor: replace a few usages of V8 hidden properties (#29400) 2021-06-03 14:59:56 +09:00
message-channel.ts
module-list.ts chore: move native-image.ts back into common (#30838) 2021-09-06 11:06:27 +02:00
native-theme.ts refactor: ginify NativeTheme (#24673) 2020-07-22 11:01:30 -07:00
net-log.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
net.ts chore: fix typos (#32985) 2022-02-21 10:27:45 +01:00
notification.ts
power-monitor.ts feat: add powerMonitor.onBatteryPower (#26494) 2020-11-16 16:31:46 -08:00
power-save-blocker.ts
protocol.ts fix: make protocol wrapper remote-friendly again (#27009) 2020-12-16 16:56:53 +09:00
safe-storage.ts feat: add electron.safeStorage encryption API (#30020) 2021-08-05 15:12:54 -07:00
screen.ts fix: screen EventEmitter methods with remote (#26809) 2020-12-08 13:47:48 +09:00
session.ts
share-menu.ts feat: add support for share menu on macOS (#25629) 2020-10-19 18:33:06 -07:00
system-preferences.ts chore: remove deprecated systemPreferences methods (#26849) 2020-12-16 08:34:24 +09:00
touch-bar.ts fix: make TouchBarPopover and TouchBarGroup work (#27901) 2021-03-01 13:34:00 -08:00
tray.ts
view.ts
web-contents-view.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
web-contents.ts feat: add ability to configure if window should close when opener closes (#31314) 2022-02-23 16:59:50 +09:00
web-frame-main.ts fix: reset render_frame_disposed_ after render frame host change (#31401) 2021-10-14 09:44:44 -07:00