ModeSelector
Displays a UI which allows selection of calendar modes. The modes can be displayed as a ButtonGroup or a single Button with a menu. Which presentation is used depends on the minified config property. By default, this is set responsively in order to present the best UI for different screen sizes.
The buttons to select each mode may be accessed from the Calendar's widgetMap.
The name is created from the mode name plus 'ShowButton', so the button to show the week mode would be accessed by
myCalendar.widgetMap.weekShowButton
If the mode selector is minified, and the modes are offered through a menu. The menu items to select each mode
may be accessed from the Calendar's widgetMap. The name is created from the mode name
plus 'ShowMenuItem', so the menu item to show the week mode would be accessed by myCalendar.widgetMap.weekShowMenuItem
Configs
97
Configs
97Common
Other
The button or button config object that will display a popup menu to select the calendar mode.
The button group or button group config object that will display the calendar modes, one per button.
Set to true to present this widget in its minimal form.
The config property that will be used as the readable title for each mode.
CSS
DOM
Float & align
Layout
misc
Misc
Scrolling
Properties
84
Properties
84Class hierarchy
Other
The Button that will toggle the display of non-working days.
This property will only exist if the Calendar's includeWeekendsButton has been
set to true
If that property is set to false, this property will still yield a button instance, but it will be hidden by CSS rules.
The MenuItem that will toggle the display of non-working days when the Calendar UI is narrow and the modes are selected using a menu.
This property will only exist if the Calendar's includeWeekendsButton has been
set to true and the Calendar is in Responsive small mode.