onBeforeEventDragIn
Description
Срабатывает перед тем, как перетаскиваемое событие будет перемещено над планировщиком
onBeforeEventDragIn: (id: string, e: Event) => boolean
Parameters
id- (обязательно) string - идентификатор событияe- (обязательно) Event - нативный объект события
Returns
result- (boolean) - определяет, будет ли выполнено действие по умолчанию события (true) или отменено (false)
Example
scheduler.attachEvent("onBeforeEventDragIn", function (id, 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.