-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
feat: add getBounds() method for BrowserView #19370
Conversation
69b1aa9
to
fd71541
Compare
getBounds()
method for BrowserViewThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The impl looks good here, but i'd also like to see a test verifying that the result returned by view.getBounds()
changes appropriately when called after view.setBounds(bounds)
before we merge.
fd71541
to
d354056
Compare
@deermichel once the conflicts are resolved this should be good to go :) |
d354056
to
5ac40d3
Compare
Release Notes Persisted
|
@codebytere - did this ship yet? |
It will ship with Electron v7 💯 |
Description of Change
Closes #18734.
This PR extends the functionality of our experimental
BrowserView
API by adding agetBounds()
method to get the current size & position.cc @codebytere @erickzhao
Checklist
npm test
passesRelease Notes
Notes: Added
getBounds()
method for BrowserView.