Electron.jl icon indicating copy to clipboard operation
Electron.jl copied to clipboard

browser test

Open whiffee opened this issue 4 years ago • 0 comments

Hoping you can entertain a dumb question.

The code below constructs a browser window, but as a child window. Can I modify it to get just the browser window by itself, or do I need to go to lower level API commands? thanks, Gary

<!DOCTYPE html>
<html>
<body>

<script>
const {BrowserWindow} = require('electron').remote

mainWindow = new BrowserWindow({width: 640, height: 360})
mainWindow.setMenuBarVisibility(true)
</script>
 
</body>
</html>

whiffee avatar Nov 21 '21 21:11 whiffee