본문으로 건너뛰기

map_text

Description

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

map_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.map_text = function(start,end,ev){
return ev.text;
};

Applicable views: Map view

Details

노트

이 템플릿은 map_view 플러그인이 활성화되어 있어야 합니다.

참고로, map_text 템플릿이 정의되지 않은 경우, Google Maps 팝업 마커에 표시되는 날짜 부분('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.