twinssbc / AngularJS-ResponsiveCalendar

A pure AngularJS responsive calendar directive
http://twinssbc.github.io/AngularJS-ResponsiveCalendar/demo/
MIT License
112 stars 77 forks source link

Clicking a field in week-view #12

Open ph3b opened 9 years ago

ph3b commented 9 years ago

Is it possible to pass an object to the controller by clicking on an empty cell in the weekview, containing the start and end-hour + date?

twinssbc commented 9 years ago

@ph3b You can add ng-click handler in the below html section in the weekview.html

<td ng-repeat="tm in row track by tm.time" class="calendar-cell">
uteq commented 9 years ago

At the moment I am 'developing' something like this in this module. If there is still interest I could share what I've made.