dateTooltipTemplate

Specifies the template which will be used as a tooltip when mouse id over month day - applicable only when "month" view is selected.The default value is "{date:MM/dd/yyyy}". The dateTooltipTemplate 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({
		    dateTooltipTemplate: function(item) {
                 return "<span class='days-tooltip'>" + item.day + "</span>";
            }
        });
    });
</script>