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

onEventAdded

Description

Срабатывает при добавлении нового события в scheduler

onEventAdded: (id: string, ev: object) => void;

Parameters

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

Example

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