My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 594: Add event element.
2 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 263
Owner:  ----
Closed:  Aug 2010


Sign in to add a comment
 
Reported by m...@andrewhays.net, Aug 9, 2010
Have event.element or something similar reference the actual element that the event maps to.  If there is more than one element that the event references, I suppose it could be an array of elements.

This could be useful for individually modifying the html on events.  Such as when filtering through all the client events.

Aug 25, 2010
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 263
Aug 26, 2010
#2 laudesm...@gmail.com
I might do something wrong but I use the eventRender event to do so:
$('#calendar').fullCalendar({
...
    eventRender: function(event, element) {
        event.div=element;
    }
});

And then I can use in any Fullcalendar methode like a loop through all clientEvents the event.div to do nice things such as jquery or jquery UI effects:

$(event.div).effect("pulsate");

By the way, very very nice work Adam!

Laurent

Sign in to add a comment

Powered by Google Project Hosting