The showCurrentTimeMode property (string) sets the current time indicator mode used by the calendar.
DayPilot.Calendar.showCurrentTimeMode"Day" - the indicator is displayed only in the column with today's date.
"Full" - the indicator is displayed in all columns.
"Day"Use this property together with DayPilot.Calendar.showCurrentTime to control how widely the current time indicator is displayed.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
showCurrentTimeMode: "Full",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
showCurrentTimeMode: "Full",
// ...
};React
<DayPilotCalendar
showCurrentTimeMode="Full"
{/* ... */}
/>Vue
<DayPilotCalendar
showCurrentTimeMode="Full"
<!-- ... -->
/>DayPilot.Calendar.showCurrentTime
DayPilot.Calendar.showCurrentTimeOffset
Highlighting Current Time [doc.daypilot.org]