docs: document modernization initiative more clearly (#17376)
* docs: document modernization initiative more clearly
This commit is contained in:
parent
53f4af7722
commit
879462af4b
18 changed files with 102 additions and 34 deletions
|
@ -980,7 +980,7 @@ contents.executeJavaScript('fetch("https://jsonplaceholder.typicode.com/users/1"
|
|||
})
|
||||
```
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `contents.executeJavaScript(code[, userGesture])`
|
||||
|
||||
|
@ -1179,7 +1179,7 @@ Captures a snapshot of the page within `rect`. Upon completion `callback` will
|
|||
be called with `callback(image)`. The `image` is an instance of [NativeImage](native-image.md)
|
||||
that stores data of the snapshot. Omitting `rect` will capture the whole visible page.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `contents.capturePage([rect])`
|
||||
|
||||
|
@ -1235,7 +1235,7 @@ settings.
|
|||
The `callback` will be called with `callback(error, data)` on completion. The
|
||||
`data` is a `Buffer` that contains the generated PDF data.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `contents.printToPDF(options)`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue