mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
remove webContents.openDevTools() deprecation
This commit is contained in:
@@ -40,15 +40,6 @@ ses.setCertificateVerifyProc(function (request, callback) {
|
||||
})
|
||||
```
|
||||
|
||||
## `webContents`
|
||||
|
||||
```js
|
||||
// Deprecated
|
||||
webContents.openDevTools({detach: true})
|
||||
// Replace with
|
||||
webContents.openDevTools({mode: 'detach'})
|
||||
```
|
||||
|
||||
## `webFrame`
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user