MonthAgendaView
A Calendar view class which displays a compact month calendar suitable for display on a phone sized screen.
By default, its next and previous methods as called by the Calendar's "forward" and "backward" buttons move by a single day. This can be reconfigured using the shiftIncrement property.
The date cells display their event load in different ways, depending on the showEvents setting:
false- Do not show events in cells.true- Show a themeable bullet to indicate the presence of events for a date.'count'- Show a themeable badge containing the event count for a date.'dots'- Show small event-coloured bullets (configurable using the eventDots config).'heatmap'- Show warmer background colors the more events are present for a date.
By default a single day AgendaView is displayed below it containing the events for the selected date:
You may use the type property of the agenda config property to request that the view below the month may be a DayView or a DayAgendaView
Useful configs
| Config | Description |
|---|---|
| showEvents | How to show event presence (dots, count, heatmap) |
| agenda | Config for the agenda/day view below the month |
| shiftIncrement | Time range to move by on next/previous |
| eventRenderer | Custom renderer for event bars |
See also
- Calendar — The main Calendar that hosts this view
- CalendarDatePicker — Parent class providing month date picking
- AgendaView — The agenda view shown below the month calendar
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of MonthAgendaView class, or subclass thereof.
-
Identifies an object as an instance of MonthAgendaView class, or subclass thereof.
CSS variables
CSS variables that can be set to adjust appearance| Name | Description |
|---|---|
| --b-agenda-view-cell-padding | Note that MonthAgenda is a view designed specifically for use on phones / |