Skip to main content

onEventAdded

Description

Fires when the user adds a new event to the scheduler

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

Parameters

  • id - (required) string - the event's id
  • ev - (required) object - the event's object

Example

scheduler.attachEvent("onEventAdded", function(id,ev){
//any custom logic here
});
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.