| Issue 81: | query API for current date | |
| 2 people starred this issue and may be notified of changes. | Back to list |
should be able to call something like $('#calendar').fullCalendar('getRange')
or something like that to get the first/last date displayed on the calendar.
1.3 should have this
Aug 17, 2009
Project Member
#1
adamrs...@gmail.com
Aug 30, 2009
I needed to do the same thing so I oppend fullcalendar.js
and right below getEventsById (about line 220) I added:
getstart: function() {
return start;
},
getend: function() {
return end;
},
Now you can call something like this $('#calendar').fullCalendar('getstart');
Aug 30, 2009
sweet, thanks thgreasi, this should hold people over til the next release, which will be around the end of this week
Nov 10, 2009
Issue 170 has been merged into this issue.
Nov 10, 2009
in the next release (for real this time), will have a 'viewInfo' method where you can easily get all the info you'd ever want about the current view. will return a 'view' object (http://arshaw.com/fullcalendar/docs/triggered-actions.php#view-object) thanks
Dec 2, 2009
alright, this is possible in 1.4.2 (just released). thanks for the wait - use `getDate` to get a Date object - use `getView` to get even more info http://arshaw.com/fullcalendar/docs/methods.php#methods
Status:
Done
|
|
| ► Sign in to add a comment |