본문으로 건너뛰기

agenda_text

Description

Agenda 뷰의 두 번째 열에 표시되는 텍스트를 정의합니다.

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

Parameters

  • start - (required) Date - 이벤트가 시작되는 날짜
  • end - (required) Date - 이벤트가 종료되는 날짜
  • event - (required) object - 이벤트 데이터

Returns

  • text - (string) - 스케줄러에 표시할 html 콘텐츠

Example

scheduler.templates.agenda_text = function(start,end,ev){
return ev.text;
};

Applicable views: Agenda view

Details

노트

이 템플릿을 사용하려면 agenda_view 플러그인이 활성화되어 있어야 합니다.

agenda_text 템플릿이 설정되지 않은 경우,
날짜 부분 'd-m-y'는 day_date 템플릿의 형식을 사용합니다.

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.