returns the total slack of a task
|task||object||the object of a task|
|number||the total slack of a task|
Available only in PRO Edition
var task = gantt.getTask(7); gantt.getTotalSlack(task);
This functionality is available in the PRO edition only.
Total slack is a period of time that can be used to increase the duration of a task or move it on the timeline without affecting the time of ending of the whole project.