onBeforeEventDragIn
Description
Срабатывает непосредственно перед тем, как перетаскиваемое событие входит в область scheduler
onBeforeEventDragIn: (id: string, e: Event) => boolean
Parameters
id- (required) string - идентификатор событияe- (required) Event - нативный объект события
Returns
result- (boolean) - определяет, будет ли выполнено стандартное действие события (true) или оно будет отменено (false)
Example
scheduler.attachEvent("onBeforeEventDragIn", function (id, e){
// разместите здесь вашу пользовательскую логику
return true;
});
Details
примечание
Это событие происходит только во время операций drag-and-drop между разными schedulers.
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.