onLightboxChange

라이트박스 구조가 업데이트될 때 트리거됩니다

void onLightboxChange(string old_type,string new_type);
old_typestring기존 라이트박스 구조의 이름
new_typestring업데이트된 라이트박스 구조의 이름

Example

gantt.attachEvent("onLightboxChange", function(old_type, new_type){
    if(new_type == "milestone"){
        alert("작업 유형이 'milestone'으로 변경되었습니다.")
    }
});

Back to top