event_text
Description
이벤트의 텍스트를 지정합니다
event_text: (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.event_text = (start, end, event) => {
return `<a href='http://some.com/details.php?for=${event.id}'>${event.text}</a>`;
};
Applicable views: 일별 보기, 주간 보기, 단위 보기
Related samples
Details
월(Month) 및 Timeline 뷰의 경우 이벤트의 텍스트를 지정하려면 event_bar_text 템플릿을 사용해야 한다는 점에 유의하세요.
Related Guides
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.