onEventDropOut
Description
当拖拽的事件被放置到调度器区域外时触发
onEventDragOut: (id: string, ev: object, to: object, e: Event) => boolean;
Parameters
id- (required) string - 事件的IDev- (required) object - 事件对象to- (required) object - 目标调度器(如果放置在空白区域则为null)e- (required) Event - 原生事件对象
Returns
result- (boolean) - 指示默认事件操作是否继续执行(true)或被阻止(false)
Example
scheduler.attachEvent("onEventDropOut", function (id, ev, to, 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.