Electron win.setMaximizable(true) not working -


i working on electron allow user enable or disable window full screen. using

win.setmaximizable(boolean)  

but throws error popup

win.setmaximizable not function. 

i have no idea why error coming although win object defined. or there way set window property render process. required.


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -