DayPilot.Link Constructor

Declaration

DayPilot.Link(data)

Parameters

  • data - object with link properties

The structure of the data object is described in DayPilot.Link.data property.

Example

var link = new DayPilot.Link({
  id: "link-1",
  from: "task-1",
  to: "task-2",
  type: "FinishToStart"
});