MCPcopy Create free account
hub / github.com/angular/components / isDragging

Method isDragging

src/cdk/drag-drop/drag-ref.ts:578–580  ·  view source on GitHub ↗

Checks whether the element is currently being dragged.

()

Source from the content-addressed store, hash-verified

576
577 /** Checks whether the element is currently being dragged. */
578 isDragging(): boolean {
579 return this._hasStartedDragging() && this._dragDropRegistry.isDragging(this);
580 }
581
582 /** Resets a standalone drag item to its initial position. */
583 reset(): void {

Callers 15

getVisibleElementMethod · 0.95
disposeMethod · 0.95
getFreeDragPositionMethod · 0.95
DragRefClass · 0.45
_endDragSequenceMethod · 0.45
addItemMethod · 0.45
_syncInputsMethod · 0.45
enterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected