# ganttToday

> Why JS: a scroll box starts at its first day, and only script can scroll it to where the reader is in time.

```ts
import { ganttToday } from "@sdxc/ui/app";
```

Applied to a marker inside a `Gantt`: once the chart is laid out, scrolls it sideways so
today's line sits a third of the way across the axis's visible width. A Gantt chart the reader
already scrolled, or one wide enough to show today, is left where it is.

## Signature

```ts
ganttToday(): MixinDescriptor<HTMLElement>
```

## Examples

```tsx
<span hidden mix={[ganttToday()]} />
```
