본문으로 건너뛰기

copy

Description

제공된 객체의 깊은 복사를 생성합니다

copy: (initialObject: any) => any

Parameters

  • initialObject - (required) object - 복사되어야 하는 객체

Returns

  • clonedObject - (object) - 제공된 객체의 깊은 복사본

Example

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

Change log

  • 버전 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.