TimelineKit API
    Preparing search index...

    Interface ChartContextMenuArgs

    Arguments passed when the chart area is right-clicked.

    interface ChartContextMenuArgs {
        area: "header" | "content";
        date: Date;
        mouseEvent: MouseEvent;
        task: Task | null;
    }
    Index

    Properties

    area: "header" | "content"

    Whether the click was on the header or on the content area.

    date: Date

    Date at the click position.

    mouseEvent: MouseEvent

    The native mouse event.

    task: Task | null

    Task at the click position, or null if clicking empty space.