Skip to main content

addEventNow

Description

Adds a new event and opens the lightbox to confirm

addEventNow: (event: any) => string

Parameters

  • event - (required) object - the event object

Returns

  • id - (string) - the event's id

Example

scheduler.addEventNow();
//or
scheduler.addEventNow({
start_date: new Date(2013,0,10,8,30),
end_date: new Date(2013,0,10,10,30),
text: "Meeting",
holder: "John", //userdata
room: "5" //userdata
});

Details

The event object can have the following properties:


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.