otherMonthDayTemplate

The other month's date template used into month view. The default value is "{day}". The otherMonthDayTemplate 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({
		    otherMonthDayTemplate: function(item) {
                 return "<span class='other-days'>" + item.day + "</span>";
            },
        });
    });
</script>