How can Zoom In Zoom Out with Ctrl+shift++ and Ctrl+shift+- in electron app


I want Zoom In Zoom Out functionality on my electron app.


Look at BrowserWindow and WebContents doc pages (one of them has the zoom API), and then add an event listener for either keyup or keydown (your choice). For example,

Everything you need to know in order to do it is available on the pages I’ve mentioned.