@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface GanttTask<T>

    A single task in a Gantt chart.

    interface GanttTask<T = unknown> {
        data?: T;
        dependencies?: readonly string[];
        end: Date;
        id: string;
        milestone?: boolean;
        parentId?: string;
        progress?: number;
        start: Date;
        style?: GanttBarStyle;
        title: string;
    }

    Type Parameters

    • T = unknown

      Optional payload type for extra data.

    Index

    Properties

    data?: T

    Arbitrary user data attached to the task.

    dependencies?: readonly string[]

    IDs of tasks that must complete before this task can start.

    end: Date

    Task end date (inclusive).

    id: string

    Unique identifier.

    milestone?: boolean

    Whether this task is a milestone (zero-duration diamond marker).

    parentId?: string

    Parent task ID for hierarchical grouping. Top-level tasks have no parent.

    progress?: number

    Completion percentage (0–100). When provided a progress overlay is drawn inside the bar.

    start: Date

    Task start date (inclusive).

    Visual style overrides.

    title: string

    Display label shown in the task list.