HolidayModel
16 Dec 20251 minute to read
Interface for a class Holiday
Properties
cssClass string
Defines a custom CSS class for styling the holiday marker and label.
Use this to apply custom background, borders, or font styles.
from Date|string
Specifies the start date of the holiday.
Accepts a Date object or ISO-formatted string.
label string
Defines a label or description for the holiday.
Useful for tooltips, annotations, and export metadata.
to Date|string
Specifies the end date of the holiday.
Accepts a Date object or ISO-formatted string.
If omitted, the holiday is treated as a single-day event.