跳转到主要内容

onEventAdded

Description

当调度器中添加新事件时触发

onEventAdded: (id: string, ev: object) => void;

Parameters

  • id - (required) string - 事件的唯一标识符
  • ev - (required) object - 事件对象本身

Example

scheduler.attachEvent("onEventAdded", function(id,ev){
// 可以在这里放置自定义逻辑
});
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.