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

getEvent

Description

Возвращает объект события по его ID

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

Parameters

  • event_id - (обязателен) string | number - идентификатор события

Returns

  • obj - (object) - объект события

Example

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