Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Minimize on close #33

Open
dmitrybabich opened this issue Jan 9, 2023 · 1 comment
Open

Minimize on close #33

dmitrybabich opened this issue Jan 9, 2023 · 1 comment
Labels
enhancement New feature or request new api Requested new API

Comments

@dmitrybabich
Copy link

Is this possible to support the minimize on close functionality? Not necessarily moving to the menu bar, but at least minimizing the dock when clicking the close button? I miss this functionality, because I want the app to display content immediately when activated, and I don't wait for the page to load. I am looking for something similar to this functionality in Electron


mainWindow.on('close', function (event) {
    if(!application.isQuiting){
        event.preventDefault();
        mainWindow.hide();
    }

    return false;
});
@CanadaHonk
Copy link
Contributor

Planned for likely next release.

@CanadaHonk CanadaHonk added enhancement New feature or request new api Requested new API labels Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request new api Requested new API
Projects
None yet
Development

No branches or pull requests

2 participants