getRenderedEvent
Description
현재 표시되고 있는 이벤트의 HTML 요소를 반환합니다.
getRenderedEvent: (id: string) => HTMLElement
Parameters
id- (required) string - 이벤트의 ID
Returns
event- (HTMLElement) - 이벤트의 HTML 요소 - 스케줄러에서 이벤트가 보이는 경우 반환됩니다.
'null' - 메서드 호출 시 이벤트가 스케줄러에 보이지 않는 경우 반환됩니다.
Example
var eventId = scheduler.addEvent({
start_date: "16-05-2013 09:00",
end_date: "16-05-2013 12:00",
text: "Meeting"
});
var eventObj = scheduler.getRenderedEvent(eventId);
//-> <div event_id="123649234723" ...>09:00 Meeting</div>
Details
노트
버전 3.5부터 사용 가능합니다.
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.