DayPilot.Navigator.dispose

The dispose() method destroys the Navigator control, removes the content of the placeholder <div>, and cleans up the object.

Declaration

DayPilot.Navigator.dispose()

Parameters

This method has no parameters.

Notes

After calling dispose(), the DayPilot.Navigator object becomes unusable.

Example

const nav = new DayPilot.Navigator("dp", {
  // ...
});
nav.init();

// ...

nav.dispose();

See Also

DayPilot.Navigator.disposed()

DayPilot.Navigator Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript