File

src/internal/createSourceFactory.ts

Implements

DragSource

Index

Methods

Constructor

constructor(spec: DragSourceSpec<any>, monitor: DragSourceMonitor<any | any>)
Parameters :
Name Type Optional
spec DragSourceSpec<any> No
monitor DragSourceMonitor<any | any> No

Methods

beginDrag
beginDrag()
Returns : any
canDrag
canDrag()
Returns : any
endDrag
endDrag()
Returns : void
isDragging
isDragging(globalMonitor: any, sourceId: any)
Parameters :
Name Type Optional
globalMonitor any No
sourceId any No
Returns : any
withChangeDetection
withChangeDetection(fn: () => void)
Type parameters :
  • T
Parameters :
Name Type Optional
fn function No
Returns : T

results matching ""

    No results matching ""