The init() method initializes and displays the calendar component.
Declaration
DayPilot.Calendar.init();Notes
Call this method after creating the calendar instance and applying the initial configuration.
Example
<div id="dp"></div>
<script>
const dp = new DayPilot.Calendar("dp", {
viewType: "Week",
// ...
});
dp.init();
</script>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot