API方法isOneDayEvent本页内容isOneDayEvent Description 判断给定事件是否仅持续一天,还是跨越多天 isOneDayEvent: (event: any) => booleanParameters event - (required) object - 事件对象 Returns isOneDay - (boolean) - 如果事件发生在同一天内,返回true,否则返回false Examplevar eventId = scheduler.addEvent({ start_date: "16-06-2013 09:00", end_date: "16-06-2013 12:00", text: "Meeting"});scheduler.isOneDayEvent(scheduler.getEvent(eventId));//->trueNeed 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.