본문으로 건너뛰기

getLink

Description

지정된 id로 의존성 링크 객체를 반환합니다

getLink: (id: string | number) => Link

Parameters

  • id - (required) string | number - 링크 ID

Returns

  • link - (Link) - 링크 객체

Example

gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.getLink(1);// -> {id:1, source:1, target:2, type:1}

Details

특정 작업에 연결된 모든 링크를 얻는 방법에 대한 정보는 Getting the Link Object/Id 문서를 참조하십시오.

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.