跳转到主要内容

onEventCancel

Description

当用户在lightbox(编辑表单)中按下"取消"按钮时触发

onEventCancel: (id: string, flag: boolean) => void;

Parameters

  • id - (required) string - 事件的id
  • flag - (required) boolean - 如果用户正在取消新事件,则为'true',
    如果编辑的事件已存在,则为'false'

Example

scheduler.attachEvent("onEventCancel", function(id, flag){
//这里写任何自定义逻辑
});
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.