The autoRefreshEnabled property (boolean) enables auto refresh for the Calendar component.
Declaration
DayPilot.Calendar.autoRefreshEnabledDefault Value
falseExamples
JavaScript
const calendar = new DayPilot.Calendar("dp", {
autoRefreshEnabled: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
autoRefreshEnabled: true,
// ...
};React
<DayPilotCalendar
autoRefreshEnabled={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:autoRefreshEnabled="true"
<!-- ... -->
/>See Also
Auto Refresh [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot