You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generatedApiDocs/features/TaskManager-API.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ tasks in list and renders. IF the active tasks has already been notified, it wo
13
13
14
14
### Parameters
15
15
16
-
*`newTaskAdded`
16
+
*`showNormalSpinnerIfNone`
17
17
18
18
## TaskObject
19
19
@@ -41,6 +41,7 @@ Type: [Object][1]
41
41
*`hidePauseIcon`**function (): void** Hides the pause icon.
42
42
*`showRestartIcon`**function ([string][2]): void** Shows the restart (retry) icon with an optional tooltip message.
43
43
*`hideRestartIcon`**function (): void** Hides the restart (retry) icon.
44
+
*`flashSpinnerForAttention`**function (): void** briefly flashes the task spinner icon for attention.
44
45
45
46
## addNewTask
46
47
@@ -53,14 +54,16 @@ directly from the UI in the status bar.
53
54
*`taskTitle`**[string][2]** The title of the task. This is a mandatory parameter and is displayed in the UI.
54
55
*`message`**[string][2]** A message or status associated with the task. Displayed as additional information in the UI.
55
56
*`iconHTML`**[string][2]?** Optional HTML string for the task's icon. Used to visually represent the task in the UI. (optional, default `null`)
56
-
*`options`**[Object][1]?** Optional settings and callbacks for the task. (optional, default `{onPauseClick:null,onPlayClick:null,onStopClick:null,onRetryClick:null,onSelect:null,progressPercent:null}`)
57
+
*`options`**[Object][1]?** Optional settings and callbacks for the task. (optional, default `{onPauseClick:null,onPlayClick:null,onStopClick:null,onRetryClick:null,onSelect:null,progressPercent:null,noSpinnerNotification:false}`)
57
58
58
59
*`options.onPauseClick`**[Function][5]?** Callback function triggered when the pause button is clicked.
59
60
*`options.onPlayClick`**[Function][5]?** Callback function triggered when the play button is clicked.
60
61
*`options.onStopClick`**[Function][5]?** Callback function triggered when the stop button is clicked.
61
62
*`options.onRetryClick`**[Function][5]?** Callback function triggered when the retry button is clicked.
62
63
*`options.onSelect`**[Function][5]?** Callback function triggered when the task is selected from the dropdown.
63
64
*`options.progressPercent`**[number][3]?** Initial progress percentage of the task.
65
+
*`options.noSpinnerNotification`**[boolean][4]?** If set to true, will not show the task spinners for this task.
66
+
This can be used for silent background tasks where user attention is not needed.
0 commit comments