跳转到主要内容

onEventCreated

Description

当用户开始创建新事件时触发(通过双击或拖动)

onEventCreated: (id: string, e: Event) => void;

Parameters

  • id - (required) string - 事件的唯一标识符
  • e - (required) Event - 原生事件对象

Example

scheduler.attachEvent("onEventCreated", function(id,e){
// 可以在这里添加自定义逻辑
});
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.