跳转到主要内容

onBeforeEventDragOut

Description

在事件被拖出调度器之前触发

onBeforeEventDragOut: (id: string, ev: object, e: Event) => boolean

Parameters

  • id - (required) string - 事件的ID
  • ev - (required) object - 事件的数据对象
  • e - (required) Event - 原生事件对象

Returns

  • result - (boolean) - 决定默认事件操作是否继续执行(true)或被阻止(false

Example

scheduler.attachEvent("onBeforeEventDragOut", function (id, ev, e){
// 在这里编写自定义逻辑
return true;
});

Details

注释

此事件仅在不同调度器之间拖放时触发。

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.