跳转到主要内容

getEvent

Description

提供对应于给定 id 的事件对象

getEvent: (event_id: string | number) => any

Parameters

  • event_id - (required) string | number - 事件的 id

Returns

  • obj - (object) - 事件对象

Example

var eventId = scheduler.addEvent({
start_date: "16-05-2013 09:00",
end_date: "16-05-2013 12:00",
text: "Meeting"
});
...
var eventObj = scheduler.getEvent(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.