isOneDayEvent
Description
Проверяет, является ли указанное событие однодневным или многодневным
isOneDayEvent: (event: any) => boolean
Parameters
event- (required) object - объект события
Returns
isOneDay- (boolean) - возвращает true, если указанное событие однодневное. В противном случае false
Example
const eventId = scheduler.addEvent({
start_date: "16-06-2027 09:00",
end_date: "16-06-2027 12:00",
text: "Meeting"
});
scheduler.isOneDayEvent(scheduler.getEvent(eventId));//->true
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.