Merge pull request #5477 from danhp/download-bounce
Add API: app.dock.downloadFinished(filePath)
This commit is contained in:
commit
ed70a11ff8
5 changed files with 18 additions and 0 deletions
|
@ -563,6 +563,12 @@ Returns an ID representing the request.
|
|||
|
||||
Cancel the bounce of `id`.
|
||||
|
||||
### `app.dock.downloadFinished(filePath)` _OS X_
|
||||
|
||||
* `filePath` String
|
||||
|
||||
Bounces the Downloads stack if the filePath is inside the Downloads folder.
|
||||
|
||||
### `app.dock.setBadge(text)` _OS X_
|
||||
|
||||
* `text` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue