neofraktal
neofraktal

Reputation: 41

bind event after fullCalendar has been created

Is there a way to bind event after fullCalendar has been created?

Something like:

jQuery( '#calendar' ).bind( 'dayClick', function( date, allDay, jsEvent, view ){} );

Upvotes: 0

Views: 1944

Answers (2)

off course you can.

$('#calendar').fullCalendar('renderEvent',
                    {
                        title: 'title',
                        start: 'start date',
                        end: 'end date',
                        id: 'id',
                        description: 'description',
                        allDay: globalAllDay,
                                                 color: 'blue'
                    },
                    true 
                );

Upvotes: 2

arshaw
arshaw

Reputation: 2725

this is currently not possible, but i would really like to have it in fullcalendar. will probably be in 1.5 when i rearchitect some things. could you add a feature request to the issue tracker? thanks

Upvotes: 1

Related Questions