The init() method initializes and displays the calendar component.
DayPilot.Calendar.init();
<div id="dp"></div> <script> var dp = new DayPilot.Calendar("dp"); dp.viewType = "Week"; dp.init(); </script>