跳到主要内容

isCircularLink

信息

此功能仅包含在 PRO 版本中。

Description

检查链接是否为循环

isCircularLink: (link: Link) => boolean

Parameters

  • link - (required) Link - 该链接对象

Returns

  • state - (boolean) - true,如果链接为循环,否则 false

Example

var isCircular = gantt.isCircularLink(link);

Details

注释

该方法需要启用 auto_scheduling 插件。

Change log

  • added in version 4.1
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.