跳到主要内容

getLinks

Description

获取甘特图中显示的所有链接

getLinks: () => Array<Link>

Returns

  • links - (Array <Link>) - 包含链接对象的数组

Example

const links = gantt.getLinks();

Details

如需了解如何获取与特定任务相关的所有链接,请参阅 获取 Link 对象/IDgetLink 文章。

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.