跳转到主要内容

copy

Description​

创建给定对象的深拷贝

copy: (event: any) => any

Parameters​

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

Returns​

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

Example​

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

Change log​

  • 版本 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.