mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: keyboard listeners no longer work on webview (#14372)
This commit is contained in:
@@ -212,6 +212,10 @@ webview.setAttribute('disableguestresize', '')
|
||||
// Removed
|
||||
webview.setAttribute('guestinstance', instanceId)
|
||||
// There is no replacement for this API
|
||||
|
||||
// Keyboard listeners no longer work on webview tag
|
||||
webview.onkeydown = () => { /* handler */ }
|
||||
webview.onkeyup = () => { /* handler */ }
|
||||
```
|
||||
|
||||
## Node Headers URL
|
||||
|
||||
Reference in New Issue
Block a user