Skip to content

Timeline event

<ns-timeline-event>

Overview

A partial component for the timeline, to show an event.

Examples

Guidance

Implementation

Placement

The ns-timeline-event component can only be used as a child of the <ns-timeline> element.

Specification

Attributes

aria-current

Property
ariaCurrent
Type
string

status

Property
status
Description
The status of the event.
Type
pending inprogress actionrequired warning error completed cancelled
Default
pending

icon

Property
icon
Description
The name of the icon to be displayed.
Type
string
Default

index

Property
index
Description
The index of the event.
Type
number
Default
0

updated-at

Property
updatedAt
Description
The date and time of the event.
Type
string
Default

role

Property
role
Type
string
Default
listitem

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
headingThe heading of the event.
Anonymous slot<ns-card> <p> The content of the event. Normally a card.