Feature: WindowToggleMaximise (#1159)

* [windows] Add WindowToggleMaximise

* Add mac support

* Update docs

* [linux] Toggle Maximise
This commit is contained in:
Lea Anthony
2022-02-18 20:28:16 +11:00
committed by GitHub
parent 6e8d65e3aa
commit f059c35d9e
21 changed files with 134 additions and 28 deletions
@@ -119,6 +119,13 @@ JS Signature: `WindowUnmaximise()`
Restores the window to the dimensions and position prior to maximising.
### WindowToggleMaximise
Go Signature: `WindowToggleMaximise(ctx context.Context)`
JS Signature: `WindowToggleMaximise()`
Toggles between Maximised and UnMaximised.
### WindowMinimise
Go Signature: `WindowMinimise(ctx context.Context)`