• Genel Bakış
@angular/cdk/drag-drop

DragConstrainPosition

Tür Takma Adı

Function that can be used to constrain the position of a dragged element.

API

    
      type DragConstrainPosition = (  userPointerPosition: Point,  dragRef: DragRef,  dimensions: DOMRect,  pickupPositionInElement: Point,) => Point
    
    
Detaylara atla