Description of icon
Flex UI
API Reference

Supervisor․TaskCardList

This is a container for TaskCardList.


Component children#

KeyComponentConditionAlignDescription
{task.sid}React component
Visible only if task is kept based of compareFunction prop
Wrapper for Supervisor.Taskcard component

Static Properties#

NameTypeDescription
ContentDynamicContentStore<TaskCardList.TaskCardListChildrenProps>

Dynamic content store

defaultPropsTaskCardList.TaskCardListProgrammableProps

Default properties

Component Properties#

NameTypeDescriptionOptionalDefault
tasksArray<ITask>

List of tasks.

No
childrenDynamicContentStore.DynamicComponentChildren<TaskCardList.TaskCardListChildrenProps>

children

Yes

Component Children Properties#

NameTypeDescriptionOptionalDefault
compareFunctionfunction

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
filterfunction

Filter function used to filter tasks for this list.

Yes
onCardSelectedfunction

A function to call with ITask in order to select the task.

Yes
selectedTaskSidstring

Sid of the selected task.

Yes
highlightedTaskSidstring

Sid of the highlighted task.

Yes
tasksArray<ITask>

Unfiltered tasks in the list.

No
childrenDynamicContentStore.DynamicComponentChildren<TaskCardList.TaskCardListProps>

children

Yes
Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.