跳转到主要内容

copy

Description

创建给定对象的深拷贝

copy: (event: any) => any

Parameters

  • event - (required) object - 需要复制的对象

Returns

  • backupEvent - (object) - 给定对象的深拷贝

Example

var backupEvent = scheduler.copy(scheduler.getEvent(id));

Change log

  • added in version 6.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.