mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
5 lines
139 B
JavaScript
5 lines
139 B
JavaScript
const webview = document.getElementById('webview')
|
|
webview.addEventListener('new-window', () => {
|
|
console.log('got new-window event')
|
|
})
|