fullcalendar/event_rendering/renderEvent.txt

16 lines
498 B
Text
Raw Normal View History

2010-01-16 23:29:18 +01:00
renderEvent *1.3*
=================
Renders a new event on the calendar.
<div class='spec' markdown='1'>
.fullCalendar( 'renderEvent', *event* [, *stick* ] )
</div>
`event` must be an [Event Object](../event_data/Event_Object) with a `title` and `start` at the very least.
Normally, the event will disappear once the calendar refetches its event sources (example: when prev/next is clicked).
However, specifying `stick` as `true` will cause the event to be permanently fixed to the calendar.