updateEvent
Description
Обновляет указанное событие
updateEvent: (id: string) => void
Parameters
id- (required) string - идентификатор события
Example
const eventId = scheduler.addEvent({
start_date: "16-06-2027 09:00",
end_date: "16-06-2027 12:00",
text: "Meeting"
});
scheduler.getEvent(eventId).text = "Conference"; // обновляет детали события
scheduler.getEvent(id).start_date = new Date(); // изменяет дату начала
scheduler.updateEvent(id); // перерисовывает обновленное событие
Related samples
Related API
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.