跳到主要内容

onAfterLinkAdd

Description

在将新链接添加到甘特图后触发

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

Parameters

  • id - (required) string | number - 该链接的 ID
  • link - (required) Link - 该 Link 对象

Example

gantt.attachEvent("onAfterLinkAdd", function(id,link){
// 在这里插入您的自定义逻辑
});
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.