Quantcast
Channel: How do run reload() and open() in Atom-Shell - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

How 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
Browsing latest articles
Browse All 3 View Live


Latest Images