Skip to main content

onAfterLinkAdd

Description

Fires after a new link is added to the Gantt chart

onAfterLinkAdd: (id: string | number, link: Link) => void;

Parameters

  • id - (required) string | number - the link id
  • link - (required) Link - the link object

Example

gantt.attachEvent("onAfterLinkAdd", function(id,link){
//any custom logic here
});