Answers for "electron remove standard menu"

3

electron remove default menu

//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
      window.setMenu(null);
});
Posted by: Guest on December-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language