Skip to main content

onLinkDragStart

Description​

Fires when the user starts dragging a new dependency link

onLinkDragStart: (sourceId: string | number, fromStart: boolean) => void;

Parameters​

  • sourceId is the ID of the task at the source of the dependency.
  • fromStart is true if the user started the drag from the task's start. It is false for the finish.

Details​

This event reports that a drag has started. Returning false has no effect. Use onLinkCreated to cancel creating a link.

Change log​

  • Added in v10.1.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.