Skip to content

Commit

Permalink
Export window.isMinimized()
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga committed Sep 19, 2024
1 parent 16e92af commit cd9ef33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export function unminimize(): Promise<void> {
return sendMessage('window.unminimize');
};

export function isMinimized(): Promise<boolean> {
return sendMessage('window.isMinimized');
};

export function setFullScreen(): Promise<void> {
return sendMessage('window.setFullScreen');
};
Expand Down

0 comments on commit cd9ef33

Please sign in to comment.