Per-event display configuration returned by EventConfigFunction. Allows customizing individual events within a group.

Example

group.EventConfigFunction = (record) => ({
icon: record.Priority === 'High' ? 'fa-solid fa-exclamation' : undefined,
color: record.Status === 'Overdue' ? '#f44336' : undefined,
cssClass: record.IsImportant ? 'important-event' : ''
});
interface TimelineEventConfig {
    actions?: TimelineAction[];
    collapsible?: boolean;
    color?: string;
    cssClass?: string;
    defaultExpanded?: boolean;
    icon?: string;
}

Properties

actions?: TimelineAction[]

Override the actions for this specific event.

collapsible?: boolean

Override whether this specific event is collapsible.

color?: string

Override the marker/accent color for this event. Any valid CSS color value.

cssClass?: string

Additional CSS class(es) for this event's card.

defaultExpanded?: boolean

Override whether this specific event starts expanded.

icon?: string

Override the icon for this specific event. Font Awesome class string.