Holiday
16 Dec 20251 minute to read
Defines a holiday in the project calendar.
Holidays are treated as non-working days and visually highlighted in the Gantt chart.
You can customize their appearance using label, color, icon, and CSS class.
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.
Defaults to null
from Date|string
Specifies the start date of the holiday.
Accepts a Date object or ISO-formatted string.
Defaults to null
label string
Defines a label or description for the holiday.
Useful for tooltips, annotations, and export metadata.
Defaults to null
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.
Defaults to null