English
Function: d3pStartTracking()
ts
function d3pStartTracking(
event,
target,
cb
): () => void;Defined in: core/util.ts:79
Start a drag session on mousedown. Moves and release are tracked on the document so the gesture continues outside the element and always ends cleanly. Returns a cleanup function (ending the session without calling mouseUp).
Parameters
event
MouseEvent
target
Element
cb
Returns
() => void