跳到主要内容

onLinkClick

Description

当用户点击链接时触发

onLinkClick: (id: string | number, e?: Event) => void;

Parameters

  • id - (必填) string | number - 被点击链接的标识符

Example

gantt.attachEvent("onLinkClick", function(id,e){
// 在这里插入您的自定义逻辑
});
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.