Перейти к основному содержимому

onEventCreated

Description

Срабатывает, когда пользователь начинает создание нового события (либо двойным кликом, либо перетаскиванием)

onEventCreated: (id: string, e: Event) => void;

Parameters

  • id - (required) string - уникальный идентификатор события
  • e - (required) Event - нативный объект события

Example

scheduler.attachEvent("onEventCreated", function(id,e){
//здесь можно добавить пользовательскую логику
});
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.