Components

TaskList

<TaskList {...TaskList.TaskListProps} />

This is a container for TaskList.

Component children

These below are list of children
Key Condition Type Align Description
contents React component Wrapper for the tasks list. Displays vertically: a list of static tasks according to the `staticFilter` prop, the `TaskListFilter` component and a list of all tasks that match the filter selected from the `TaskListFilter` component. It uses `react-flip-move`

Members

DynamicContentStore.<TaskList.TaskListProps>

# static readonly Content

Dynamic content store
TaskList.TaskListProps

# static readonly defaultProps

Default properties

Type Definitions

# TaskListProps

Properties of TaskList.
Properties:
Name Type Attributes Default Description
selectedTaskSid string <optional>
Sid of the selected task.
compareFunction function <optional>
defaultTaskOrderCompare Callback to control how tasks should be sorted in task list. Negative number means task a should be above task b, positive number that a should be below b. 0 indicates equal priority.
staticFilter AppConfig.TaskFilterCallback <optional>
Callback to test if a task belongs to the static area (upper area before filters) in the task list.
filters Array.<AppConfig.TaskFilter> <optional>
Filter tasks displayed in the list.
onFilterChange function <optional>
Callback when a filter changes.
onTaskSelected function <optional>
Callback when a task is selected from the list.
tasks Map.<string, ITask> <optional>
Tasks.
children DynamicComponentChildren.<TaskList.TaskListProps> <optional>
children
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Protected by reCAPTCHA – PrivacyTerms