Data
Timeline <pm-timeline>
Vertical timeline (activity feeds, order history, changelogs).
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
label | string | — | Accessible name (and visible label where the component shows one). |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Slots
| Slot | Description |
|---|---|
(default) | pm-timeline-item elements. |
<pm-timeline-item>
One entry in a <pm-timeline>: a heading, time and details.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
icon | string | — | Registered icon name (see registerIcons); an icon slot overrides it. |
heading | string | — | Title text. |
time | string | — | Display time, e.g. "2 min ago". |
datetime | string | — | Machine-readable time for <time datetime>. |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Slots
| Slot | Description |
|---|---|
(default) | Details. |
icon | Icon inside the dot. |