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 - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -