Zum Hauptinhalt springen

copy

Description

Erstellt eine tiefe Kopie des übergebenen Objekts

copy: (initialObject: any) => any

Parameters

  • initialObject - (required) object - das Objekt, das kopiert werden muss

Returns

  • clonedObject - (object) - eine tiefe Kopie des übergebenen Objekts

Example

var backupTask = gantt.copy(gantt.getTask(id));

Change log

  • in Version 4.0 hinzugefügt
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.