File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ This class is similar to Electron's [`BrowserWindow`](https://electronjs.org/doc
8080
8181#### ` Window.getTitle() `
8282
83- - Returns string
83+ - Returns ` string `
8484
8585#### ` Window.setBounds(bounds: Rectangle) `
8686
@@ -114,6 +114,32 @@ Maximizes the window.
114114
115115Sets whether the window should show always on top of other windows.
116116
117+ #### ` Window.getIcon() `
118+
119+ Gets 32x32 icon png buffer associated with the window.
120+
121+ Returns ` Promise<Buffer> `
122+
123+ #### ` Window.setMaximizable(toggle: boolean) `
124+
125+ Sets whether the window should be maximizable.
126+
127+ #### ` Window.setMinimizable(toggle: boolean) `
128+
129+ Sets whether the window should be minimizable.
130+
131+ #### ` Window.isMaximizable() `
132+
133+ Determines whether the window is maximizable.
134+
135+ Returns ` boolean `
136+
137+ #### ` Window.isMaximizable() `
138+
139+ Determines whether the window is maximizable.
140+
141+ Returns ` boolean `
142+
117143# Projects using ` node-window-manager `
118144
119145- [ Multrin] ( https://github.com/sentialx/multrin )
Original file line number Diff line number Diff line change 11{
22 "name" : " node-window-manager" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " Manage windows in macOS, Windows and Linux" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments