getLink
Beschreibung
Gibt das Link-Objekt der Abhängigkeit anhand der angegebenen ID zurück
getLink: (id: string | number) => Link
Parameter
id- (erforderlich) string | number - die Link-ID
Returns
link- (Link) - das Link-Objekt
Example
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.getLink(1);// -> {id:1, source:1, target:2, type:1}
Details
Für Informationen darüber, wie man alle mit einer bestimmten Aufgabe verbundenen Links erhält, siehe den Artikel 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.