deleteEvent()
Description
Removes an event by its ID
Usage
deleteEvent({ id: string | number }): void;
Parameters
id
- (required) an ID of the event to be deleted
Example
// create Event Calendar
const calendar = new eventCalendar.EventCalendar("#root", {
// configuration parameters
});
// delete an event with the "1" ID
calendar.deleteEvent({ id: "1" });