electron/spec/fixtures/pages/zoom-factor.html
2016-05-19 14:46:52 -07:00

8 lines
220 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
const {ipcRenderer, webFrame} = require('electron')
ipcRenderer.send('pong', webFrame.getZoomFactor(), webFrame.getZoomLevel())
</script>
</body>
</html>