mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add isPaused and canResume
This commit is contained in:
@@ -78,10 +78,18 @@ routine to determine the save path(Usually prompts a save dialog).
|
||||
|
||||
Pauses the download.
|
||||
|
||||
### `downloadItem.isPaused()`
|
||||
|
||||
Returns whether the download is paused.
|
||||
|
||||
### `downloadItem.resume()`
|
||||
|
||||
Resumes the download that has been paused.
|
||||
|
||||
### `downloadItem.canResume()`
|
||||
|
||||
Resumes whether the download can resume.
|
||||
|
||||
### `downloadItem.cancel()`
|
||||
|
||||
Cancels the download operation.
|
||||
|
||||
Reference in New Issue
Block a user