code: function renderDayEvents(events, modifiedEventId) {
  
  		// do the actual rendering. Receive the intermediate "segment" data structures.
  		var segments = _renderDayEvents(
  			events,
  			false, // don't append event elements
  			true // set the heights of the rows
  		);
  
  		// report the elements to the View, for general drag/resize utilities
  		segmentElementEach(segments, function(segment, element) {
  			reportEventElement(segment.event, element);
  		});
  
  		// attach mouse handlers
  		attachHandlers(segments, modifiedEventId);
  
  		// call `eventAfterRender` callback for each event
  		segmentElementEach(segments, function(segment, element) {
  			trigger('eventAfterRender', segment.event, segment.event, element);
  		});
  	}
docs: Render `events` onto the calendar, attach mouse event handlers, and call the `eventAfterRender` callback for each. Mouse event will be lazily applied, except if the event has an ID of `modifiedEventId`. Can only be called when the event container is empty (because it wipes out all innerHTML).