Thanks, and is it a reason of not showing the events or it's not related ?
I put some events in the loadEvents method but they don't appear.
Here is the code :
loadEvents() {
// placeholder for an HTTP call
const events = [
{
id: 1,
start: "2023-02-28T10:00:00",
end: "2023-02-28T11:00:00",
text: "Event 1",
backColor: "#6aa84f",
borderColor: "#38761d",
},
{
id: 2,
start: "2023-02-28T13:00:00",
end: "2023-02-28T16:00:00",
text: "Event 2",
backColor: "#f1c232",
borderColor: "#bf9000",
},
{
id: 3,
start: "2023-03-01T13:30:00",
end: "2023-03-01T16:30:00",
text: "Event 3",
backColor: "#cc4125",
borderColor: "#990000",
},
{
id: 4,
start: "2023-03-01T10:30:00",
end: "2023-03-01T12:30:00",
text: "Event 4"
},
];
this.calendar.update({ events });
},