Skip to main content

onTaskClosed

Description

Fires when a branch has been closed

onTaskClosed: (id: string | number) => void;

Parameters

  • id - (required) string | number - the branch id

Example

gantt.attachEvent("onTaskClosed", function(id) {
alert(`You've closed a branch with id=${id}`);
});