date
Description
Optional. A selected date of Event Calendar
Usage
date?: Date;
info
To set the current date of Event Calendar dynamically, you can use the
setDate()
and
setConfig()
methods
Example
// create Event Calendar
new eventCalendar.EventCalendar("#root", {
events,
date: new Date("2022-04-22T00:00:00"),
// other configuration parameters
});
Related sample: Event Calendar. Initialization