Zum Hauptinhalt springen

getLinkNode

Description

Gibt das HTML-Element des angegebenen Dependency-Links zurück

getLinkNode: (id: string | number) => HTMLElement

Parameters

  • id - (erforderlich) string | number - die Link-ID

Returns

  • node - (HTMLElement) - das HTML-Element des Links

Example

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

gantt.getLinkNode(1); //-> <div className=​"gantt_task_link" link_id=​"1">​…​</div>​
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.