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

provide webFrame access #162

Merged
merged 1 commit into from
Apr 15, 2018
Merged

provide webFrame access #162

merged 1 commit into from
Apr 15, 2018

Conversation

whyboris
Copy link
Contributor

@whyboris whyboris commented Apr 7, 2018

now you can change zoom factor from within your components:

this.electronService.webFrame.setZoomFactor(0.8);

Please let me know if this was left out intentionally.

@maximegris
Copy link
Owner

No it wasn't.
I only added an example of how to import and use node/electron modules.
I'll merge your PR, one more example cost nothing 👍

@maximegris maximegris merged commit 5f0abdb into maximegris:master Apr 15, 2018
@whyboris
Copy link
Contributor Author

Great!
I used the webFrame.zoomFactor in my app -- a very useful feature to have in an app that may need to run on a 4k screen (where the UI becomes too-tiny-to-see from far away).
Thank you for the project and the ongoing work you do!

@whyboris whyboris deleted the webFrame branch December 30, 2018 16:51
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.

2 participants