Перейти к основному содержимому

isLinkExists

Description

Проверяет, существует ли указанный линк

isLinkExists: (id: string | number) => boolean

Parameters

  • id - (required) string | number - идентификатор линка

Returns

  • link - (boolean) - true, если линк существует, иначе false

Example

gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.isLinkExists(1); // ->true
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.