마커의 객체를 가져옵니다
markerId | string | number | 마커의 ID |
object | 마커의 설정 객체 |
const todayMarker = gantt.addMarker({
start_date: new Date(),
css: "today",
text:"Now"
title:date_to_str( new Date())
});
gantt.getMarker(todayMarker); //->{css:"today", text:"Now", id:...}
이 메서드는 marker 확장 기능의 일부이므로, marker 플러그인이 활성화되어 있는지 확인하세요. 자세한 내용은 수직 마커 추가하기 문서를 참고하시기 바랍니다.