setEventEndDate
warning
Метод устарел.
Description
Устанавливает дату окончания события
setEventEndDate: (id: string, date: Date) => void
Parameters
id- (required) string - идентификатор событияdate- (required) Date - новая дата окончания события
Example
const eventId = scheduler.addEvent({
start_date: new Date(2027,1,10),
end_date: new Date(2027,1,13),
text: "Конференция"
});
...
scheduler.getEvent(eventId).end_date = new Date(2027,1,15);
scheduler.updateEvent(eventId);
Related API
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.