search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Highlight Current Time Indicator

Asked by Taslim khan
9 months ago.

I want to show current time indicator in angular how should i do that in angular8 scheduler

Answer posted by Dan Letecky [DayPilot]
9 months ago.

You can use a separator to display the current time indicator in the Angular Scheduler component:

config: DayPilot.SchedulerConfig = {
  separators: [
    {
      location: DayPilot.Date.now(),
      color: "red"
    }
  ],
  // ...
}

You can also show it dynamically:

const separators = [
  {
    location: DayPilot.Date.now(),
    color: "red"
  }
];
this.scheduler.update({separators});
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.