electron/docs/api
trop[bot] 90f7796adb
docs: update the example of webContents.setWindowOpenHandler to cla… (#50292)
docs: reorganize the comments for clarifying `webContents.setWindowOpenHandler` example

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: z0gSh1u <zx.cs@qq.com>
2026-03-16 12:53:31 -04:00
..
structures feat: implements cold COM activation (#49919) 2026-03-05 17:30:04 -05:00
app.md feat: add macOS-only api to determine if app is currently active (#49622) 2026-03-02 11:47:37 -05:00
auto-updater.md feat: msix auto-updater (#49230) 2026-01-29 16:38:26 -05:00
base-window.md docs: note required windows in 'new-window-for-tab' event (#49851) 2026-02-18 19:30:43 -08:00
browser-view.md docs: no class inheritance (#47403) 2025-06-10 10:00:06 +02:00
browser-window.md docs: note required windows in 'new-window-for-tab' event (#49851) 2026-02-18 19:30:43 -08:00
client-request.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
clipboard.md docs: add more api history (C-D) (#49510) 2026-03-05 11:30:20 +01:00
command-line-switches.md feat: add support for --experimental-transform-types (#49711) 2026-02-19 20:27:49 +01:00
command-line.md chore: lint code blocks in docs with ESLint (#42113) 2025-05-29 12:45:26 -07:00
content-tracing.md docs: add more api history (C-D) (#49510) 2026-03-05 11:30:20 +01:00
context-bridge.md feat: context bridge support VideoFrame (#47316) 2025-08-07 16:41:49 -04:00
cookies.md feat: introduce os_crypt_async in safeStorage (#49054) 2026-02-15 19:54:50 +01:00
corner-smoothing-css.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
crash-reporter.md docs: add more api history (C-D) (#49510) 2026-03-05 11:30:20 +01:00
debugger.md docs: remove stale example and standardize DevTools capitalization (#49321) 2026-01-14 10:35:53 +01:00
desktop-capturer.md docs: cleanup desktop-capturer doc after chromium audio capture additions (#50091) 2026-03-06 15:27:00 -05:00
dialog.md docs: add more api history (C-D) (#49510) 2026-03-05 11:30:20 +01:00
dock.md docs: add Menu module tutorials (#47268) 2025-07-15 15:09:32 -07:00
download-item.md chore: lint code blocks in docs with ESLint (#42113) 2025-05-29 12:45:26 -07:00
environment-variables.md feat: msix auto-updater (#49230) 2026-01-29 16:38:26 -05:00
extensions-api.md docs: remove stale example and standardize DevTools capitalization (#49321) 2026-01-14 10:35:53 +01:00
extensions.md docs: unify [!NOTE] structure (#46893) 2025-05-09 14:36:42 -07:00
global-shortcut.md docs: add API history (G-I) (#50194) 2026-03-12 14:43:39 +01:00
image-view.md docs: add API history (G-I) (#50194) 2026-03-12 14:43:39 +01:00
in-app-purchase.md docs: add API history (G-I) (#50194) 2026-03-12 14:43:39 +01:00
incoming-message.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
ipc-main-service-worker.md docs: no class inheritance (#47403) 2025-06-10 10:00:06 +02:00
ipc-main.md docs: add API history (G-I) (#50194) 2026-03-12 14:43:39 +01:00
ipc-renderer.md docs: add API history (G-I) (#50194) 2026-03-12 14:43:39 +01:00
menu-item.md fix: update label/sublabel/icon in MenuItems on open (#49678) 2026-02-27 12:47:05 -05:00
menu.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
message-channel-main.md docs: no class inheritance (#47403) 2025-06-10 10:00:06 +02:00
message-port-main.md docs: fix broken links (#36519) 2022-12-05 13:18:57 -05:00
native-image.md docs: explain how to load SF Symbols with nativeImage (#48908) 2025-11-13 10:41:00 -05:00
native-theme.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
navigation-history.md docs: clarify navigationhistory offsets (#45616) 2025-02-21 17:35:17 -06:00
net-log.md docs: unify [!NOTE] structure (#46893) 2025-05-09 14:36:42 -07:00
net.md chore: lint code blocks in docs with ESLint (#42113) 2025-05-29 12:45:26 -07:00
notification.md feat: implements cold COM activation (#49919) 2026-03-05 17:30:04 -05:00
parent-port.md docs: fix broken links (#36519) 2022-12-05 13:18:57 -05:00
power-monitor.md docs: fix powerMonitor event types (#45518) 2025-02-10 10:13:11 -05:00
power-save-blocker.md docs: unify [!NOTE] structure (#46893) 2025-05-09 14:36:42 -07:00
process.md docs: fix typos across documentation (#49734) 2026-02-11 12:45:46 +01:00
protocol.md chore: lint code blocks in docs with ESLint (#42113) 2025-05-29 12:45:26 -07:00
push-notifications.md fix: APNS token ids are lowercase ASCII (#46101) 2025-03-20 07:57:50 +01:00
safe-storage.md feat: introduce os_crypt_async in safeStorage (#49054) 2026-02-15 19:54:50 +01:00
screen.md fix: screen.getCursorScreenPoint() crash on Wayland (#50092) 2026-03-06 15:24:33 -05:00
service-worker-main.md docs: fix some module headings (#48177) 2025-08-27 14:52:26 -07:00
service-workers.md chore: lint code blocks in docs with ESLint (#42113) 2025-05-29 12:45:26 -07:00
session.md chore: bump chromium to 147.0.7713.0 (main) (#49975) 2026-03-03 13:54:44 +09:00
share-menu.md docs: add a few API history fragments (#49340) 2026-01-21 12:57:02 -05:00
shared-texture.md chore: use relative links from docs/ to files outside of docs/ (#49605) 2026-02-19 01:15:27 -08:00
shell.md docs: document that shell.trashItem requires backslashes (#49038) 2026-01-21 13:21:01 -05:00
system-preferences.md feat: Add getAccentColor on Linux (#48027) 2025-10-21 14:26:30 -04:00
touch-bar-button.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-color-picker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-group.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-label.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-other-items-proxy.md docs: unify [!NOTE] structure (#46893) 2025-05-09 14:36:42 -07:00
touch-bar-popover.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-scrubber.md fix: documentation spelling errors (#43366) 2024-08-22 15:44:55 +02:00
touch-bar-segmented-control.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-slider.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-spacer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar.md docs: remove documentation link to discontinued Touch Bar Simulator (#49899) 2026-02-23 15:04:31 -05:00
tray.md feat: allow macOS tray to maintain position (#47838) 2025-08-07 19:25:50 +02:00
utility-process.md feat: add support for disclaiming utility processes (#49128) 2026-02-05 14:37:24 -08:00
view.md feat: Allow View.setBounds to animate (#48812) 2026-01-30 15:18:56 -05:00
web-contents-view.md docs: no class inheritance (#47403) 2025-06-10 10:00:06 +02:00
web-contents.md docs: update the example of webContents.setWindowOpenHandler to cla… (#50292) 2026-03-16 12:53:31 -04:00
web-frame-main.md feat: webFrameMain.fromFrameToken (#47850) 2025-07-31 16:41:44 -04:00
web-frame.md docs: remove stale example and standardize DevTools capitalization (#49321) 2026-01-14 10:35:53 +01:00
web-request.md feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering (#44692) 2025-02-17 12:40:47 -08:00
web-utils.md docs: recommend calling renderer process modules from preload script (#48427) 2025-10-04 18:44:10 +02:00
webview-tag.md feat: allow defaulting to printer default page size (#49523) 2026-02-13 07:40:14 -05:00
window-open.md docs: update allowed window.open options (#48428) 2025-10-03 01:29:26 +02:00