Skip to content
angulux
@anguless/angulux/timeline

Timeline

1 declaration3 demostimeline.md
import
import { TimelineModule } from '@anguless/angulux/timeline';

Basic

Timeline lays out a list of events, with the content slot rendering each one.

Ordered
Processing
Shipped
Delivered
<agl-timeline [value]="events" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template></agl-timeline>

Horizontal

Layout switches the axis; align decides which side the content sits on.

Ordered
Processing
Shipped
Delivered
<agl-timeline [value]="events" layout="horizontal" align="top" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template></agl-timeline>

Opposite

The opposite slot fills the other side of the axis.

15/10/2026 10:30
Ordered
15/10/2026 14:00
Processing
16/10/2026 09:45
Shipped
17/10/2026 08:15
Delivered
<agl-timeline [value]="events" align="alternate" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template>    <ng-template #opposite let-event>        <small>{{ event.date }}</small>    </ng-template></agl-timeline>

API

Generated from the committed corpus, which check:corpus holds to the built library.

Timeline

componentagl-timeline

Timeline visualizes a series of chained events.

InputTypeDefaultDescription
valueany[] | undefinednot documentedAn array of events to display.
styleClass
deprecated — since v20.0.0, use `class` instead.
string | undefinednot documentedStyle class of the component.
alignstringnot documentedPosition 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 documentedOrientation of the timeline.
Template slotDescription
<ng-template #content>Custom content template.
<ng-template #opposite>Custom opposite item template.
<ng-template #marker>Custom marker template.

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. Keys become attributes, and a key that names a DOM property is also assigned to that property. Values the browser would execute go through Angular's sanitizer first, as in a template binding: markup in `innerHTML`, `outerHTML` and `srcdoc`, and URLs in `href`, `src`, `action`, `formaction` and `xlink:href`. To write one of those unsanitized on purpose, pass a `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl` value. An `on*` key must be a function, and any other value for it is ignored. Keys themselves are applied as given, so let data from users choose values, never keys.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.