Answer by Balaji for How do run reload() and open() in Atom-Shell
For Reload :const { BrowserWindow } = require('electron').remoteBrowserWindow.getCurrentWindow().reload();For Close:BrowserWindow.getCurrentWindow().on('close', () => { // window was...
View ArticleAnswer by Ana Betts for How do run reload() and open() in Atom-Shell
browser-window only works in the Browser process (i.e. the one your app starts in). Try this:var remote = require('remote');remote.getCurrentWindow().reload();
View ArticleHow do run reload() and open() in Atom-Shell
1) Is this javascript call not supported on Atom-shell?window.open('#/openpage','_self',false)2) In NodeJS-Webkit, I could either reload the HTML with win.reload() without the toolbar and buttons. Is...
View Article