Перейти к основному содержимому

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.