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