跳到主要内容

onAfterLinkDelete

Description

当用户删除链接后立即触发

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

Parameters

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

Example

gantt.attachEvent("onAfterLinkDelete", 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.