The disposed() method returns true if the JavaScript Scheduler component has already been disposed using DayPilot.Scheduler.dispose().

Declaration

DayPilot.Scheduler.disposed()

Parameters

This method has no parameters.

Return Value

Returns true when the component has already been disposed; otherwise returns false.

Example

if (dp.disposed()) {
  return;
}

See Also

DayPilot.Scheduler.dispose()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript