DateGalleryMode
TYPE DEFINITION
All predefined modes of the DateGallery:
- 'day': a single day per frame.
- 'week': seven days per frame, starting at the configured firstDayOfWeek.
- 'month': all days within a calendar month per frame. A frame will then always start on the first of the month, and end on the last day of the month.
- 'month-six-weeks': all days within a calendar month, but padded out to six weeks. Meaning that there are always 42 days in the frame. Useful for when you want you calendar / datepicker to be visually stable height wise. Starts the days on the configured firstDayOfWeek.
- 'month-pad-to-week': all days within a calendar month, but padded out so it always contains full weeks. Only the smallest amount of padding is added to get to the full weeks. Starts the days on the configured firstDayOfWeek. For example if the week is configured to start on sunday, and the month starts on a tuesday, it will add monday and sunday.
- 'year': a frame will contain all 365 days (or 366 when a leap year) within a year.
Since 1.6.0