outOfRangeDayTemplate

Specifies the template which will be used for all dates which are out of min/max range. The default value is "& nbsp;". The outOfRangeDayTemplate 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({
		    outOfRangeDayTemplate: function(item) {
                 return "<span class='out-of-range-days'>" + item.day + "</span>";
            },
        });
    });
</script>