TimelineEventFactory class


The timeline event factory - to create a timeline event from a raw data object.

Signature:

export declare class TimelineEventFactory 

Methods

.create ()

Creates a timeline event from the given data.

Signature:

static create(data: TimelineEventData, items: Collection<string, Item>): TimelineEvent;

Parameters:

ParameterTypeDescription
dataTimelineEventDataThe raw data.
itemsCollection < String, Item >A collection of all items.

Return type: TimelineEvent