Normal task
SVAR Svelte Gantt supports several task types. This article describes the normal task type.
Normal task
A standard task is the most common task type that:
- has a start date, end date, and progress
- supports dragging, resizing, and progress editing in the UI
A standard task requires a start and end date. If type is omitted, the task is treated as a standard task. Add tasks via the tasks array.
const tasks = [
{
id: 1,
text: "Implementation",
start: new Date(2024, 3, 10),
end: new Date(2024, 3, 15),
progress: 50,
type: "task",
},
];
Related article: Tasks
Related sample: Task types