# timeline

```ts
import { TimelineModule } from '@anguless/angulux/timeline';
```

## Timeline

`agl-timeline` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

Timeline visualizes a series of chained events.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `value` | `any[] \| undefined` | _not documented_ | An array of events to display. |
| `styleClass` | `string \| undefined` | _not documented_ | Style class of the component. **Deprecated:** since v20.0.0, use `class` instead. |
| `align` | `string` | _not documented_ | Position of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout. |
| `layout` | `'vertical' \| 'horizontal'` | _not documented_ | Orientation of the timeline. |

| Slot | Read as | Description |
| --- | --- | --- |
| `<ng-template #content>` | `contentTemplate` | Custom content template. |
| `<ng-template #opposite>` | `oppositeTemplate` | Custom opposite item template. |
| `<ng-template #marker>` | `markerTemplate` | Custom marker template. |
