跳转到主要内容

setEventStartDate

警告

此功能已棄用。

Description

更新事件的开始日期

setEventStartDate: (id: string, date: Date) => void

Parameters

  • id - (required) string - 事件的ID
  • 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);
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.