EventMarkerModel

16 Dec 20251 minute to read

Interface for a class EventMarker

Properties

cssClass string

Specifies a custom CSS class for the event marker.
This can be used to apply custom styles to the line and label of the marker.

day Date|string

Specifies the date or day of the event marker.
The value can be a Date object or a date string.

label string

Specifies the label for the event marker.

top string

Vertical offset of the label from the timeline top.
Must be in pixels (e.g., ‘50px’). Invalid values default to ‘50px’.
Negative values are normalized to ‘50px’.