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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -