mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: add evt listeners for SetAlwaysOnTop (#14951)
* feat: add evt listeners for SetAlwaysOnTop * only emit one event on AlwaysOnTop change * docs: add new alwaysontop event * dont emit if theres no change * address feedback from review
This commit is contained in:
committed by
Charles Kerr
parent
d810f08b75
commit
27bbf6a3c6
@@ -542,6 +542,15 @@ Emitted when the window enters a full-screen state triggered by HTML API.
|
||||
|
||||
Emitted when the window leaves a full-screen state triggered by HTML API.
|
||||
|
||||
#### Event: 'always-on-top-changed' _macOS_
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `isAlwaysOnTop` Boolean
|
||||
|
||||
Emitted when the window is set or unset to show always on top of other windows.
|
||||
|
||||
#### Event: 'app-command' _Windows_
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user