Add remote.getCurrentWebContents API
This commit is contained in:
parent
fc2bc20572
commit
4c10925694
3 changed files with 15 additions and 1 deletions
|
@ -138,6 +138,10 @@ Returns the object returned by `require(module)` in the main process.
|
|||
Returns the [BrowserWindow](browser-window.md) object which this web page
|
||||
belongs to.
|
||||
|
||||
## remote.getCurrentWebContent()
|
||||
|
||||
Returns the WebContents object of this web page.
|
||||
|
||||
## remote.getGlobal(name)
|
||||
|
||||
* `name` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue