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:
Parameter | Type | Description |
---|---|---|
data | TimelineEventData | The raw data. |
items | Collection < String, Item > | A collection of all items. |
Return type: TimelineEvent