Jump to: navigation, search


Calendar MainScreen 04032020.jpg


Calendar widget is a UI Plugin that displays time-slots for a selected day. The number of days to display, as well as open time and close time for a day are configurable as shown in Configuration.


By default the calendar widget needs a UI container to display itself properly. Please refer to the calendar generated events to get the calendar and to display it where you prefer.

How does the Calendar widget render time slots in local time zones?

  1. The Calendar widget uses the command showAvailability which calls CallbackService.availability with the start date. This start date is then converted into the ISO 8601 format, using UTC as the timezone by toISOString(), internally.
  2. The Callback service fetches the available time slots from the server.
  3. The Calendar gets the available time slots from CallbackService.availableSlots in the ISO 8601 format, using UTC as the timezone.
  4. Each and Every Time Slot is converted according to the user's local time zone internally through Date() and toTimeString() methods in the Calendar Plugin.


All the texts shown in calendar widget are fully localizable as shown in Localization


Calendar plugin has the following namespaces tied-up with each of the following types.

Type Namespace
Configuration calendar
i18n - Localization calendar
CXBus - API Commands & API Events Calendar
CSS .cx-calendar

Mobile Support

Calendar supports both desktop and mobile devices. Like all Genesys Widgets, there are two main modes: Desktop & Mobile. Desktop is employed for monitors, laptops, and tablets. Mobile is employed for smartphones. When a smartphone is detected, Calendar switches to special full-screen templates that are optimized for both portrait and landscape orientations.

Switching between desktop and mobile mode is done automatically by default. You may configure Genesys Widgets to switch between Desktop and Mobile mode manually if necessary.


"Dark" Theme

"Light" Theme

This page was last edited on January 17, 2022, at 12:33.
Comments or questions about this documentation? Contact us for support!