DateGalleryEventConfig<T>
TYPE DEFINITION
Holds the configuration of an event which is placed in the DateGallery. From this configuration the actual DateGalleryEvent is created.
Since 1.6.0
Properties
-
data
T
The data for this event, "data" can be be anything from an object, string, array etc etc. It is used to pass along data to the event you might need to display the event, such as the text for the event.
By default the value is undefined.
Since 1.6.0
-
endDate
string | Date
The end date of the event, includes the time.
The endDate is inclusive: meaning if the event has a startDate which is monday and an endDate on wednesday, the event runs on monday, tuesday and wednesday.
Can either be a Date instance, or a string which can be passed to the Date constructor to make a date.
Since 1.6.0
-
startDate
string | Date
The start date of the event, includes the time.
The startDate is inclusive: meaning if the event has a startDate which is monday and an endDate on wednesday, the event runs on monday, tuesday and wednesday.
Can either be a Date instance, or a string which can be passed to the Date constructor to make a date.
Since 1.6.0