Zum Hauptinhalt springen

copy

Description

Erstellt eine tiefgehende Kopie des angegebenen Objekts

copy: (initialObject: any) => any

Parameters

  • initialObject - (required) object - das zu kopierende Objekt

Returns

  • clonedObject - (object) - eine tiefgehende Kopie des angegebenen Objekts

Example

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

Change log

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