more updates to api summaries based on feedback
This commit is contained in:
parent
2c8261b429
commit
799fd13c50
6 changed files with 10 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
||||||
# autoUpdater
|
# autoUpdater
|
||||||
|
|
||||||
> Enable apps to update themselves automatically.
|
> Enable apps to automatically update themselves.
|
||||||
|
|
||||||
The `autoUpdater` module provides and interface for the [Squirrel](https://github.com/Squirrel) framework.
|
The `autoUpdater` module provides an interface for the [Squirrel](https://github.com/Squirrel) framework.
|
||||||
|
|
||||||
You can quickly launch a multi-platform release server for distributing your
|
You can quickly launch a multi-platform release server for distributing your
|
||||||
application by using one of these projects:
|
application by using one of these projects:
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
> Command line switches supported by Electron.
|
> Command line switches supported by Electron.
|
||||||
|
|
||||||
You can use [app.commandLine.appendSwitch][append-switch] to append them in
|
You can use [app.commandLine.appendSwitch][append-switch] to append them in
|
||||||
your app's main script before the [ready][ready] event of [app][app] module is
|
your app's main script before the [ready][ready] event of the [app][app] module
|
||||||
emitted:
|
is emitted:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const app = require('electron').app;
|
const app = require('electron').app;
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
> Collect tracing data from Chromium's content module for finding performance
|
> Collect tracing data from Chromium's content module for finding performance
|
||||||
bottlenecks and slow operations.
|
bottlenecks and slow operations.
|
||||||
|
|
||||||
This module does not include a web interface
|
This module does not include a web interface so you need to open
|
||||||
so you need to open `chrome://tracing/` in a Chrome browser and load the
|
`chrome://tracing/` in a Chrome browser and load the generated file to view the
|
||||||
generated file to view the result.
|
result.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const contentTracing = require('electron').contentTracing;
|
const contentTracing = require('electron').contentTracing;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# MenuItem
|
# MenuItem
|
||||||
|
|
||||||
> Add items to application and context menus.
|
> Add items to native application menus and context menus.
|
||||||
|
|
||||||
See [`menu`](menu.md) for examples.
|
See [`menu`](menu.md) for examples.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# protocol
|
# protocol
|
||||||
|
|
||||||
> Register a custom protocol and intercept existing protocols.
|
> Register a custom protocol and intercept existing protocol requests.
|
||||||
|
|
||||||
An example of implementing a protocol that has the same effect as the
|
An example of implementing a protocol that has the same effect as the
|
||||||
`file://` protocol:
|
`file://` protocol:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# The `window.open` function
|
# The `window.open` function
|
||||||
|
|
||||||
> Create a new window in a web page.
|
> Open a new window and load a URL.
|
||||||
|
|
||||||
When `window.open` is called to create a new window in a web page, a new instance
|
When `window.open` is called to create a new window in a web page, a new instance
|
||||||
of `BrowserWindow` will be created for the `url` and a proxy will be returned
|
of `BrowserWindow` will be created for the `url` and a proxy will be returned
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue