The links.list property (array) holds the event link data.
DayPilot.Scheduler.links.list[]Each item in the array uses the DayPilot.Link.data structure.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
links: [
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
],
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
links: [
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
],
// ...
};React
<DayPilotScheduler
links={[
{
from: "1",
to: "2",
type: "FinishToStart",
color: "green"
}
]}
{/* ... */}
/>Vue
<DayPilotScheduler
:links="[
{
from: '1',
to: '2',
type: 'FinishToStart',
color: 'green'
}
]"
<!-- ... -->
/>Event Links [doc.daypilot.org]