跳到主要内容

getLinks

Description​

返回在甘特图中显示的所有链接

getLinks: () => Array <Link>

Returns​

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

Example​

const links = gantt.getLinks();

Details​

有关如何获取与特定任务相关的所有链接的信息,请参阅 Getting the Link Object/Id 和 getLink 文章。

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.