setEventStartDate
warning
Эта функицональность устарела
Description
Обновляет дату начала события
setEventStartDate: (id: string, date: Date) => void
Parameters
id- (required) string - идентификатор событияdate- (required) Date - новая дата начала события
Example
var eventId = scheduler.addEvent({
start_date: new Date(2013,1,10),
end_date: new Date(2013,1,13),
text: "Conference"
});
...
scheduler.getEvent(eventId).start_date = new Date(2013,1,09);
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.