Skip to main content

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

readonlyOptional. Controls whether the widget is in the read-only mode
valueOptional. An array of task objects to initialize the tasklist widget

Tasklist Events

changeFires when the data of the task list changes
dataTriggered when the widget needs to load tasks
  • Visit the Features Guide to learn more about the widget's functionality.
  • Explore the samples to visualize the available features.