spec: Make dom-ready spec stronger

This commit is contained in:
Cheng Zhao 2015-07-24 15:48:13 +08:00
parent 1a93b1db52
commit b52c07f650
5 changed files with 24 additions and 36 deletions

View file

@ -130,10 +130,10 @@ If "on", the guest page will have web security disabled.
## Methods
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();
});
```