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 @@ -1285,14 +1285,16 @@ you exactly what went wrong
1285
1285
* ` type ` String (optional) - Can be ` critical ` or ` informational ` . The default is
1286
1286
` informational `
1287
1287
1288
+ Returns ` Integer ` an ID representing the request.
1289
+
1288
1290
When ` critical ` is passed, the dock icon will bounce until either the
1289
1291
application becomes active or the request is canceled.
1290
1292
1291
1293
When ` informational ` is passed, the dock icon will bounce for one second.
1292
1294
However, the request remains active until either the application becomes active
1293
1295
or the request is canceled.
1294
1296
1295
- Returns ` Integer ` an ID representing the request .
1297
+ ** Nota Bene: ** This method can only be used while the app is not focused; when the app is focused it will return -1 .
1296
1298
1297
1299
### ` app.dock.cancelBounce(id) ` _ macOS_
1298
1300
You can’t perform that action at this time.
0 commit comments