Sort functionality for fullcalendar event objects
Does fullcalendar support sorting of clientEvents objects, I need 开发者_如何学编程them for notification functionality which will show the latest of the events?
If you want the last event just select the last elements of the array:
var events = $('#calendar').fullCalendar( 'clientEvents');
var lastEvent = events[events.length -1];
精彩评论