This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
0.10.0
This release contains lots of breaking changes and paves the way for a stable version 1.0.
Breaking changes
- Attributes have been renamed. To migrate simply drop the calendar- prefix
- The starts_at and ends_at event properties have been renamed to startsAt and endsAt
- The template paths have been changed (only affects users who were overriding the templates). They are now in src/templates. Also main.html has been renamed to calendar.html, day.html to calendarDay.html, week.html to calendarWeek.html, month to calendarMonth.html and year to calendarYear.html
- The calendar-control attribute has been removed. From now on use the new view-title attribute for getting the title, and use the new mwl-date-modifier directive for the prev() and next() functions that existed before.
- The following attributes have been renamed: event-click -> on-event-click, edit-event-click -> on-edit-event-click, delete-event-click -> on-delete-event-click, timespan-click -> on-timespan-click
- The drill down functionality can now be disabled by returning false from the new on-drill-down-click expression rather than the timespan click expression.
- The calendarConfig provider methods have been renamed like so: configureDateFormats -> setDateFormats and configureTitleFormats -> setTitleFormats
- The use-iso-week attribute has been removed. From now on you should always set the option in moment instead:
moment.locale('en', {
week : {
dow : 1 // Monday is the first day of the week
}
}); - The week-title-label, event-label and time-label attributes have been removed. You can configure them in the calendarConfigProvider instead.