InitCalendar

Fullcalendar. InitCalendar

new InitCalendar(selector, options, events)

Source:
This class is used by GetEvents module and initializes instances of calendar with predefined list of options
Parameters:
Name Type Description
selector string DOM Root element of
options Object options of component
events Array options of event calendar "event object"

Methods

attachTooltip(event, element, compactCalendar)

Source:
attachTooltip method creates, positions, and animates tooltips for events.
Parameters:
Name Type Description
event Object options of event calendar "event object"
element DOMElement DOM element of an event
compactCalendar boolean is calendar in compact mode

renderCompactCalendarEvents(events, selector)

Source:
attaches events for single days - compact calendar
Parameters:
Name Type Description
events Array "event object"
selector string selector of an event in DOM