TaskListContainer
This is a container for TaskListContainer.
Component children#
| Key | Component | Condition | Align | Description |
|---|---|---|---|---|
| tasklist | TaskList | TaskList component. Displays the TaskList component in the agent desktop view |
Static Properties#
| Name | Type | Description |
|---|---|---|
| Content | DynamicContentStore<TaskListContainer.TaskListContainerChildrenProps, TaskListContainerChildrenKeys> | Dynamic content store |
| defaultProps | TaskListContainer.TaskListContainerProps | Default properties |
Component Properties#
| Name | Type | Description | Optional | Default |
|---|---|---|---|---|
| tasks | Map<string, ITask> | Tasks to display. | Yes | |
| selectedTaskSid | string | Sid of the selected task. | Yes | |
| taskFilters | Array<TaskFilter> | Filter tasks displayed in the list. | Yes | TaskListContainer.defaultTaskFilters |
| staticTaskFilter | TaskFilterCallback | Callback to test if a task belongs to the static area (upper area before filters) in the task list. | Yes | TaskListContainer.defaultStaticTaskFilter |
| onTaskSelected | function | Callback called when a task is selected | Yes | |
| children | DynamicContentStore.DynamicComponentChildren<TaskListContainer.TaskListContainerChildrenProps> | children | Yes |
Component Children Properties#
| Name | Type | Description | Optional | Default |
|---|---|---|---|---|
| tasks | Map<string, ITask> | Tasks to display. | Yes | |
| selectedTaskSid | string | Sid of the selected task. | Yes | |
| taskFilters | Array<TaskFilter> | Filter tasks displayed in the list. | Yes | TaskListContainer.defaultTaskFilters |
| staticTaskFilter | TaskFilterCallback | Callback to test if a task belongs to the static area (upper area before filters) in the task list. | Yes | TaskListContainer.defaultStaticTaskFilter |
| onTaskSelected | function | Callback called when a task is selected | Yes | |
| children | DynamicContentStore.DynamicComponentChildren<TaskListContainer.TaskListContainerChildrenProps> | children | Yes |
Rate this page