setEventEndDate
警告
此功能已棄用。
Description
更新事件的结束日期
setEventEndDate: (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).end_date = new Date(2013,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.