DayPilot.Calendar.init

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

Declaration

DayPilot.Calendar.init();

Example

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

<script>
  var dp = new DayPilot.Calendar("dp");
  dp.viewType = "Week";
  dp.init();
</script>