DayPilot.Month.init

The init() method initializes and displays the monthly calendar component.

Declaration

DayPilot.Month.init();

Example

<div id="dp"></div>

<script>
  var dp = new DayPilot.Month("dp");
  dp.startDate = DayPilot.Date.fromYearMonthDay(2020, 1);
  dp.init();
</script>