Skip to main content

Methods overview

addCalendar()Adds a new calendar
addEvent()Adds a new event (without opening an editor)
closeEditor()Closes an editor
createEvent()Creates a new event and opens an editor
deleteCalendar()Removes a calendar by its ID
deleteEvent()Removes an event by its ID
destructor()Removes all HTML elements of Event Calendar, and detaches all related events
getCalendar()Gets an object of the calendar data by its ID
getEvent()Gets an object of the event data by its ID
hideEventInfo()Hides an info popup window
openEditor()Opens an editor for an event by its ID
parse()Parses data into Event Calendar (for events and calendars)
serialize()Serializes Event Calendar data to JSON
setConfig()Sets the config parameters of Event Calendar
setDate()Sets a current date of Event Calendar
setLocale()Applies a new locale to Event Calendar
setMode()Sets a view mode of Event Calendar
setTheme()Sets a theme of Event Calendar
showEventInfo()Shows an info popup for the event by its ID
toggleSidebar()Shows/hides a sidebar
updateCalendar()Updates the calendar data by its ID
updateEvent()Updates the event data by its ID