본문으로 건너뛰기

tooltip_text

Description

툴팁에 표시되는 텍스트를 설정합니다

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

Parameters

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

Returns

  • text - (string) - scheduler tooltip 안에 표시할 html 콘텐츠

Example

scheduler.templates.tooltip_text = function(start,end,ev){
return "<b>Event:</b> "+ev.text+"<br/><b>Start date:</b> " +
scheduler.templates.tooltip_date_format(start)+
"<br/><b>End date:</b> "+scheduler.templates.tooltip_date_format(end);
};

Applicable views: Agenda view, Day view, Map view, Month view, Week view, Week Agenda view, Units view

Details

노트

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

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.