Update download-item.md
This commit is contained in:
parent
16b54e1502
commit
57bdbd8185
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# DownloadItem
|
# DownloadItem
|
||||||
|
|
||||||
`DownloadItem`(下载项)是一个在Electron中展示下载项的
|
`DownloadItem`(下载项)是一个在Electron中展示下载项的
|
||||||
[EventEmitter](https://github.com/nodejs/node/blob/master/doc/api/events.markdown)(nodejs)。
|
[EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter)。
|
||||||
它被用于`Session`模块中的`will-download`事件,允许用户去控制下载项。
|
它被用于`Session`模块中的`will-download`事件,允许用户去控制下载项。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue