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

onEventAdded

Description​

Срабатывает, когда пользователь добавляет новое событие в планировщик

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.