본문으로 건너뛰기

isOneDayEvent

Description

주어진 이벤트가 하루만 지속되는지 아니면 여러 날에 걸치는지 판단합니다.

isOneDayEvent: (event: any) => boolean

Parameters

  • event - (required) object - 이벤트 객체

Returns

  • isOneDay - (boolean) - 이벤트가 단일 날짜 내에 발생하면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

Example

var eventId = scheduler.addEvent({
start_date: "16-06-2013 09:00",
end_date: "16-06-2013 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.