# GanttTaskbarContext (@salmonui/gantt)

> The GanttTaskbarContext interface of @salmonui/gantt: A taskbar render context.

Canonical: https://salmonui.dev/docs/reference/gantt/GanttTaskbarContext

```ts
import type { GanttTaskbarContext } from '@salmonui/gantt';
```

Entry index: https://salmonui.dev/docs/reference/gantt (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/gantt.md).

## Reference

Kind: interface

```ts
interface GanttTaskbarContext<Row> {
    readonly task: Row;
    readonly info: GanttTaskInfo;
    readonly start: Date | null;
    readonly end: Date | null;
    readonly progress: number;
    readonly width: number;
    readonly critical: boolean;
    readonly selected: boolean;
}
```

A taskbar render context.

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `task` | `readonly task: Row;` |  |  |
| `info` | `readonly info: GanttTaskInfo;` |  |  |
| `start` | `readonly start: Date \| null;` |  |  |
| `end` | `readonly end: Date \| null;` |  |  |
| `progress` | `readonly progress: number;` |  |  |
| `width` | `readonly width: number;` |  |  |
| `critical` | `readonly critical: boolean;` |  |  |
| `selected` | `readonly selected: boolean;` |  |  |
