dayTemplate

The day template used into month view. The default value is "{day}". The dayTemplate can be also a callback function with following parameters:

  • date - the javascript date object
  • day - the day as number

<div id="calendar" ></div>

<script type="text/javascript">
    $(function () {
        $("#calendar").shieldCalendar({
		    dayTemplate: function(item) {
                 return "<span class='days'>" + item.day + "</span>";
            },
        });
    });
</script>