TaskList
This is a container for TaskList.
Component children#
| Key | Component | Condition | 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` |
Static Properties#
| Name | Description | Type |
|---|---|---|
| Content | Dynamic content store | DynamicContentStore.<TaskList.TaskListProps> |
| defaultProps | Default properties | TaskList.TaskListProps |
Component Properties
selectedTaskSid?: stringSid of the selected task.
compareFunction?: functionCallback 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.TaskFilterCallbackCallback to test if a task belongs to the static area (upper area before filters) in the task list.
filters?: Array.<AppConfig.TaskFilter>Filter tasks displayed in the list.
onFilterChange?: functionCallback when a filter changes.
onTaskSelected?: functionCallback when a task is selected from the list.
tasks?: Map.<string, ITask>Tasks.
children?: DynamicContentStore.DynamicComponentChildren.<TaskList.TaskListProps>children