File tree Expand file tree Collapse file tree 5 files changed +15
-25
lines changed
Expand file tree Collapse file tree 5 files changed +15
-25
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ windowManager.getScaleFactor(windowManager.getActiveWindow().getMonitor());
1313windowManager .getActiveWindow ().getMonitor ().getScaleFactor ();
1414```
1515
16- ### ` window.getMonitor(): number `
17-
18- Now the ` window.getMonitor ` method returns [ ` Monitor ` ] ( monitor.md ) object.
19-
2016### ` windowManager.requestAccessibility() ` ` macOS `
2117
2218The ` windowManager.requestAccessibility ` method won't be required before each operation on windows anymore. Only on:
@@ -27,3 +23,18 @@ The `windowManager.requestAccessibility` method won't be required before each op
2723- ` window.restore `
2824- ` window.bringToTop `
2925- ` window.getTitle `
26+
27+ ### ` window.getMonitor(): number `
28+
29+ Now the ` window.getMonitor ` method returns [ ` Monitor ` ] ( monitor.md ) object.
30+
31+ ### ` window.getInfo() `
32+
33+ ` window.getInfo ` method has been removed.
34+
35+ ``` typescript
36+ // Deprecated
37+ const { title } = window .getInfo ();
38+ // Replace with
39+ const title = window .getTitle ();
40+ ```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ Gets monitor working area bounds.
2929
3030- Returns [ ` Rectangle ` ] ( rectangle.md )
3131
32- #### monitor.getInfo() ` Windows `
33-
34- Returns [ ` MonitorInfo ` ] ( monitor-info.md )
35-
3632#### monitor.isPrimary() ` Windows `
3733
3834Whether the monitor is primary.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ Resizes and moves the window to the supplied bounds. Any properties that are not
2828window .setBounds ({ height: 50 });
2929```
3030
31- #### win.getInfo() ` Windows ` ` macOS `
32-
33- Returns [ ` WindowInfo ` ] ( window-info.md )
34-
3531#### win.getTitle() ` Windows ` ` macOS `
3632
3733- Returns ` string `
You can’t perform that action at this time.
0 commit comments