Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser test #101

Open
whiffee opened this issue Nov 21, 2021 · 0 comments
Open

browser test #101

whiffee opened this issue Nov 21, 2021 · 0 comments

Comments

@whiffee
Copy link

whiffee commented Nov 21, 2021

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant