mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
feat: add app.isHidden API for macOS (#32155)
* feat: add app.isHidden API * Update docs/api/app.md Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com> * fixed isHidden tests * Update docs/api/app.md Co-authored-by: John Kleinschmidt <jkleinsc@github.com> * Update spec-main/api-app-spec.ts Co-authored-by: John Kleinschmidt <jkleinsc@github.com> Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
This commit is contained in:
@@ -158,6 +158,7 @@ class Browser : public WindowListObserver {
|
||||
|
||||
// Hide the application.
|
||||
void Hide();
|
||||
bool IsHidden();
|
||||
|
||||
// Show the application.
|
||||
void Show();
|
||||
|
||||
Reference in New Issue
Block a user