File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1252,14 +1252,16 @@ you exactly what went wrong
12521252* ` type ` String (optional) - Can be ` critical ` or ` informational ` . The default is
12531253 ` informational `
12541254
1255+ Returns ` Integer ` an ID representing the request.
1256+
12551257When ` critical ` is passed, the dock icon will bounce until either the
12561258application becomes active or the request is canceled.
12571259
12581260When ` informational ` is passed, the dock icon will bounce for one second.
12591261However, the request remains active until either the application becomes active
12601262or the request is canceled.
12611263
1262- Returns ` Integer ` an ID representing the request .
1264+ ** Nota Bene: ** This method can only be used while the app is not focused; when the app is focused it will return -1 .
12631265
12641266### ` app.dock.cancelBounce(id) ` _ macOS_
12651267
You can’t perform that action at this time.
0 commit comments