13 lines
315 B
HTML
13 lines
315 B
HTML
|
<body>
|
||
|
<div id="div">
|
||
|
WebView
|
||
|
</div>
|
||
|
<script type="text/javascript" charset="utf-8">
|
||
|
const {ipcRenderer} = require('electron')
|
||
|
ipcRenderer.send('webview-ready')
|
||
|
document.addEventListener('fullscreenchange', () => {
|
||
|
ipcRenderer.send('webview-fullscreenchange')
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|