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

Refactor NativeWindow (Part 7): Expose TopLevelWindow in JavaScript #12637

Merged
merged 5 commits into from
Apr 19, 2018

Conversation

zcbenz
Copy link
Contributor

@zcbenz zcbenz commented Apr 17, 2018

const {TopLevelWindow} = require('electron')
const win = new TopLevelWindow({})

Currently there is no way to add child view to TopLevelWindow, it just has all non-WebContents related BrowserWindow APIs.

I will add docs once I have figured out a stable TopLevelWindow interface, now let's keep it undocumented.

@zcbenz zcbenz requested a review from a team April 17, 2018 10:57
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

Successfully merging this pull request may close these issues.

1 participant