Skip to content

Calendar.js v2.11.0 - Fixed height support! New triggers and functions! Lots of fixes!

Compare
Choose a tag to compare
@williamtroup williamtroup released this 03 Jun 18:24
· 21 commits to main since this release
3ca2d35

New Features:

  • Added custom height support! You can set this on the element itself via the styles. Once set, this will force new instances of the Calendar to use that height.

Settings:

  • BREAKING: Renamed the setting "events" to "data".
  • BREAKING: All binding option events are now available under a new area called "events".
  • Added a new setting "eventTooltipDelay" (defaults to 1000), which states the delay that should be used (in milliseconds) for the event details tooltip.

Custom Trigger Events:

  • Added a new custom trigger "onViewChange", which is triggered when the current view is changed.

Public Functions:

  • Added a new public function called "getCurrentView()", which will return the ID of the current view.

Timeline View:

  • Added “description” timeline axis support. These can also be used for the default axis setting.

Fixes:

  • Fixed a broken link for the default holiday "Valentine's Day".
  • Fixed a fault that caused the "Search" dialog drop-down arrow to use a transition when changing.
  • Fixed the check/radio buttons text being slightly misaligned vertically.
  • Fixed a fault that caused the wrong parameters to be passed for the binding file "calendar.binding.js" function.
  • Fixed a fault that caused extra spacing to be shown above the URL label in the event tooltip.
  • Fixed the "Timeline" view Events and Axis labels overlapping the headers.
  • Fixed a fault that caused the "Timeline" view to jump around when refreshed (after being scrolled).