Files
electron/docs/fiddles/ipc/webview-new-window/renderer.js
trop[bot] a662023207 docs: add <webview> new-window event removal to breaking-changes.md (#38525)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <miburda@microsoft.com>
2023-05-31 14:30:51 -04:00

5 lines
139 B
JavaScript

const webview = document.getElementById('webview')
webview.addEventListener('new-window', () => {
console.log('got new-window event')
})