UNPKG

@syncfusion/ej2-gantt

Version:
39 lines (33 loc) 895 B
import { Property, ChildProperty } from '@syncfusion/ej2-base'; /** * Interface for a class EventMarker */ export interface EventMarkerModel { /** * Specifies the date or day of the event marker. * The value can be a `Date` object or a date string. * * @default null */ day?: Date | string; /** * Specifies the label for the event marker. * * @default null */ label?: 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. * * @default null */ cssClass?: 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'. * @default '50px' */ top?: string; }