docs(api-history): win.flashFrame(flag)

This commit is contained in:
Piotr Płaczek
2024-07-22 00:33:27 +01:00
parent 24abde3de2
commit b918611d8a

View File

@@ -926,6 +926,17 @@ win.setSheetOffset(toolbarRect.height)
#### `win.flashFrame(flag)`
<!--
```YAML history
added:
- pr-url: https://github.com/electron/electron/pull/35658
changes:
- pr-url: https://github.com/electron/electron/pull/41391
description: Made `window.flashFrame(bool)` flash continuously on macOS.
breaking-changes-header: behavior-changed-windowflashframebool-will-flash-dock-icon-continuously-on-macos
```
-->
* `flag` boolean
Starts or stops flashing the window to attract user's attention.