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;
}

Properties

Events

  • onchange - triggered when data changes in the task list.
  • ondata - triggered when data is loaded based on the given identifier.
  • Visit the Features Guide to learn more about the widget's functionality.
  • Explore the samples to visualize the available features.