본문으로 건너뛰기

onDestroy

Description

API의 destructor 메서드를 사용하여 간트 차트가 해제될 때 한 번 트리거됩니다.

onDestroy: () => void;

Example

gantt.attachEvent("onDestroy", function(){
alert("free custom resources");
});

gantt.destructor();