electron/spec/fixtures/pages/zoom-factor.html

9 lines
234 B
HTML
Raw Normal View History

<html>
<body>
<script type="text/javascript" charset="utf-8">
const {ipcRenderer, webFrame} = require('electron')
2017-02-17 15:48:30 +00:00
ipcRenderer.send('webview-zoom-level', webFrame.getZoomFactor(), webFrame.getZoomLevel())
</script>
</body>
</html>