mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update as upstream
This commit is contained in:
@@ -130,10 +130,10 @@ If "on", the guest page will have web security disabled.
|
||||
|
||||
## API
|
||||
|
||||
The webview element must be loaded before using the methods.
|
||||
The webview element must be loaded before using the methods.
|
||||
**Example**
|
||||
```javascript
|
||||
webview.addEventListener("dom-ready", function(){
|
||||
webview.addEventListener("dom-ready", function() {
|
||||
webview.openDevTools();
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user