Gantt APIEventsonTaskClosedOn this pageonTaskClosed Description Fires when a branch has been closed onTaskClosed: (id: string | number) => void;Parameters id - (required) string | number - the branch id Examplegantt.attachEvent("onTaskClosed", function(id) { alert(`You've closed a branch with id=${id}`);});Related API close onTaskOpened