Skip to content

Calendar.js v2.12.0 - Disable views! CSS support for Pin-Up mode! More settings and fixes!

Latest
Compare
Choose a tag to compare
@williamtroup williamtroup released this 05 Jun 20:45
417248e

New Features:

  • Added view disabling support! You can now turn off the "Full Day", "Full Week", "Full Year", "All Events", and "Timeline" views!
  • Added CSS class support for "Pin-Up" mode!
  • Added support to disable the "Jump To Date" dialog.

Settings:

  • Added a new setting "jumpToDateEnabled" (defaults to true), which states if the "Jump To Date" dialog is enabled.
  • Added a new setting "views.fullWeek.showDatesInDayHeaders" (defaults to true), which states if the dates should be shown in the "Full Week" day headers.
  • Added a new setting "views.fullMonth.pinUpViewImageCssClasses" (defaults to []), which states the CSS classes to use for the "Pin-Up" mode instead of images (in "Full Month" view).
  • Added a new setting "views.fullDay.enabled" (defaults to true), which states if the "Full Day" view is enabled.
  • Added a new setting "views.fullWeek.enabled" (defaults to true), which states if the "Full Week" view is enabled.
  • Added a new setting "views.fullYear.enabled" (defaults to true), which states if the "Full Year" view is enabled.
  • Added a new setting "views.allEvents.enabled" (defaults to true), which states if the "All Events" view is enabled.
  • Added a new setting "views.timeline.enabled" (defaults to true), which states if the "Timeline" view is enabled.

UI Improvements:

  • Increased the start/end padding around the "Pin-Up" mode current day text.

Fixes:

  • Fixed strange transition effects being shown for the Context Menu icons.
  • Fixed an extra divider line being visible in mobile mode in all views on the title bars.