docs: keyboard listeners no longer work on webview (#14369)

This commit is contained in:
Cheng Zhao 2018-08-29 15:59:23 +09:00 committed by GitHub
parent 865435c491
commit 2f759151d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,6 +212,10 @@ webview.setAttribute('disableguestresize', '')
// Removed // Removed
webview.setAttribute('guestinstance', instanceId) webview.setAttribute('guestinstance', instanceId)
// There is no replacement for this API // There is no replacement for this API
// Keyboard listeners no longer work on webview tag
webview.onkeydown = () => { /* handler */ }
webview.onkeyup = () => { /* handler */ }
``` ```
## Node Headers URL ## Node Headers URL