The dispose() method destroys the control, removes the content of the placeholder <div>, and cleans up the object.
Declaration
DayPilot.Month.dispose()Parameters
This method has no parameters.
Notes
After calling dispose(), the DayPilot.Month object is unusable.
Example
const month = new DayPilot.Month("dp", {
// ...
});
month.init();
// ...
month.dispose();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot