Tasklist API
Initialization
interface TasklistConfig {
// Initial tasks data
value?: Task[] | number | string;
// Callback when data changes
onChange?: (change: OnChange) => void;
// Function to load data based on identifier
onData?: (id: number | string) => Promise<Task[]> | Task[];
// Flag for read-only mode
readonly?: boolean;
}
Tasklist Properties
readonly | Optional. Controls whether the widget is in the read-only mode |
value | Optional. An array of task objects to initialize the tasklist widget |
Tasklist Events
change | Fires when the data of the task list changes |
data | Triggered when the widget needs to load tasks |
Related resources
- Visit the Features Guide to learn more about the widget's functionality.
- Explore the samples to visualize the available features.