Supervisor․TaskCardList
This is a container for TaskCardList.
Component children#
Key | Component | Condition | Align | Description |
---|---|---|---|---|
{task.sid} | React component | Visible only if task is kept based of compareFunction prop | Wrapper for Supervisor.Taskcard component |
Static Properties#
Name | Type | Description |
---|---|---|
Content | DynamicContentStore<TaskCardList.TaskCardListChildrenProps> | Dynamic content store |
defaultProps | TaskCardList.TaskCardListProgrammableProps | Default properties |
Component Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
tasks | Array<ITask> | List of tasks. | No | |
children | DynamicContentStore.DynamicComponentChildren<TaskCardList.TaskCardListChildrenProps> | children | Yes |
Component Children Properties#
Name | Type | Description | Optional | Default |
---|---|---|---|---|
compareFunction | function | A compare function that receives two tasks as arguments. Negative number means task a should be above task b, positive number that a should be below b. 0 indicates equal priority. | Yes | |
filter | function | Filter function used to filter tasks for this list. | Yes | |
onCardSelected | function | A function to call with ITask in order to select the task. | Yes | |
selectedTaskSid | string | Sid of the selected task. | Yes | |
highlightedTaskSid | string | Sid of the highlighted task. | Yes | |
tasks | Array<ITask> | Unfiltered tasks in the list. | No | |
children | DynamicContentStore.DynamicComponentChildren<TaskCardList.TaskCardListProps> | children | Yes |