Jump to: navigation, search
(Update with the copy of version: draft)
(Update with the copy of version: draft)
Line 1: Line 1:
 
= Configuration =
 
= Configuration =
== Description ==
+
{{NoteFormat|Documentation for this software has moved to a new home. Please update links and bookmarks to content hosted at https://all.docs.genesys.com/WID/Current/SDK/Calendar-combined#Configuration.}}
Calendar share the configuration namespace '_genesys.widgets.calendar'. Calendar has UI options.
 
== Example ==
 
<pre>
 
window._genesys.widgets.calendar = {
 
 
 
showAvailability: true,
 
numberOfDays: 5,
 
hideUnavailableTimeSlots: false
 
 
 
calendarHours: {
 
 
 
interval: 10,
 
allDay: {
 
 
 
openTime: '09:00',
 
closeTime: '23:59'
 
}
 
}
 
};
 
</pre>
 
 
 
== Options ==
 
{|
 
|-
 
! Name
 
! Type
 
! Description
 
! Default
 
! Required
 
|-
 
| showAvailability
 
| boolean
 
| Enable/disable calendar to update the timeslots based on the callback availability. The unavailable timeslots are greyed out.
 
| true
 
| n/a
 
|-
 
| numberOfDays
 
| number
 
| The number of days to display on calendar starting today.
 
| 5
 
| n/a
 
|-
 
| timeFormat
 
| number/string
 
| This sets the time format for the timestamps in this widget. It can be 12 or 24.
 
| 12
 
| n/a
 
|-
 
| hideUnavailableTimeSlots
 
| boolean
 
| Show/hide the unavailable callback time slots.
 
| false
 
| n/a
 
|-
 
| calendarHours.interval
 
| number
 
| The time interval between each consecutive timeslot displayed on calendar.
 
| 15
 
| n/a
 
|-
 
| calendarHours.allDay.openTime
 
| number
 
| Opening time in 'HH:MM' 24 Hr format.
 
| 17:00
 
| n/a
 
|-
 
| calendarHours.allDay.closeTime
 
| number
 
| Closing time in 'HH:MM' 24 Hr format.
 
| 23:59
 
| n/a
 
|-
 
|}
 
  
 
[[Category:V:PSAAS:Public]]
 
[[Category:V:PSAAS:Public]]

Revision as of 21:52, October 17, 2019

Configuration

Important
Documentation for this software has moved to a new home. Please update links and bookmarks to content hosted at https://all.docs.genesys.com/WID/Current/SDK/Calendar-combined#Configuration.
Comments or questions about this documentation? Contact us for support!