Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
feat(calendarSlideBox): expose the current month or year cell to the …
Browse files Browse the repository at this point in the history
…slide box controller for use in

Closes #369
  • Loading branch information
Matt Lewis committed Jun 26, 2016
1 parent 0a6ed35 commit a6d2bdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/directives/mwlCalendarSlideBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ angular
editEventHtml: '=',
onEditEventClick: '=',
deleteEventHtml: '=',
onDeleteEventClick: '='
onDeleteEventClick: '=',
cell: '='
},
bindToController: true
};
Expand Down
3 changes: 2 additions & 1 deletion src/templates/calendarMonthView.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
edit-event-html="vm.editEventHtml"
on-edit-event-click="vm.onEditEventClick"
delete-event-html="vm.deleteEventHtml"
on-delete-event-click="vm.onDeleteEventClick">
on-delete-event-click="vm.onDeleteEventClick"
cell="vm.view[vm.openDayIndex]">
</mwl-calendar-slide-box>

</div>
Expand Down
3 changes: 2 additions & 1 deletion src/templates/calendarYearView.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
edit-event-html="vm.editEventHtml"
on-edit-event-click="vm.onEditEventClick"
delete-event-html="vm.deleteEventHtml"
on-delete-event-click="vm.onDeleteEventClick">
on-delete-event-click="vm.onDeleteEventClick"
cell="vm.view[vm.openMonthIndex]">
</mwl-calendar-slide-box>

</div>
Expand Down

0 comments on commit a6d2bdb

Please sign in to comment.