onBeforeEventDragOut
Description
在事件被拖出调度器之前触发
onBeforeEventDragOut: (id: string, ev: object, e: Event) => boolean
Parameters
id- (required) string - 事件的IDev- (required) object - 事件的数据对象e- (required) Event - 原生事件对象
Returns
result- (boolean) - 决定默认事件操作是否继续执行(true)或被阻止(false)
Example
scheduler.attachEvent("onBeforeEventDragOut", function (id, ev, e){
// 在这里编写自定义逻辑
return true;
});
Details
注释
此事件仅在不同调度器之间拖放时触发。
Related Guides
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.