createDragRef
function
Creates a DragRef for an element, turning it into a draggable item.
API
function createDragRef<T = unknown>(
injector: Injector,
element: any,
config?: DragRefConfig,
): DragRef<T>;Jump to details
Creates a DragRef for an element, turning it into a draggable item.
function createDragRef<T = unknown>(
injector: Injector,
element: any,
config?: DragRefConfig,
): DragRef<T>;