JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://arshaw.com/js/fullcalendar-1.5.2/fullcalendar/fullcalendar.min.js"></script>
<link rel="stylesheet" href="http://arshaw.com/js/fullcalendar-1.5.2/fullcalendar/fullcalendar.css">
<div id="calendar"></div>
JavaScript
$(document).ready(function() {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
$("#calendar").fullCalendar({
events: [{
description: 'Test event',
title: 'Test',
start: new Date(y, m, d, 10, 0),
allDay: false}],
header: {
left: 'prev,next,today',
right: 'month,agendaDay'
},
eventRender: function(event, element, view) {
if (view.name === "agendaDay") {
element.find(".fc-event-content")
.append("<b>Description</b>:" + event.description);
}
}
});
});