DayPilot.Scheduler.multirange.get

The multirange.get() method returns the current time range selection segments.

Declaration

DayPilot.Scheduler.multirange.get();

Return Value

An array of items with the following properties:

  • start (DayPilot.Date) - the selection segment start
  • end (DayPilot.Date) - the selection segment end
  • resource (string | number) - the selection segment resource ID

See Also

Example

const selection = dp.multirange.get();