onLinkDragStart
Description
Fires when the user starts dragging a new dependency link
onLinkDragStart: (sourceId: string | number, fromStart: boolean) => void;
Parameters
sourceIdis the ID of the task at the source of the dependency.fromStartistrueif the user started the drag from the task's start. It isfalsefor the finish.
Details
This event reports that a drag has started. Returning false has no effect. Use onLinkCreated to cancel creating a link.
Related API
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.