본문으로 건너뛰기

quick_info_date

Description

팝업 편집 폼에 표시되는 날짜를 정의합니다.

quick_info_date: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - 이벤트의 시작 날짜
  • end - (required) Date - 이벤트의 종료 날짜
  • event - (required) object - 이벤트 세부 정보

Returns

  • text - (string) - scheduler에 표시되는 html 텍스트

Example

scheduler.templates.quick_info_date = function(start, end, ev){
if (scheduler.isOneDayEvent(ev)){
return scheduler.templates.day_date(start, end, ev) + " " +
scheduler.templates.event_header(start, end, ev);
}else{
return scheduler.templates.week_date(start, end, ev);
}
};

Details

노트

이 템플릿은 quick_info 플러그인이 활성화된 경우에만 작동합니다.

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.