* Turns an element into a draggable item. * @param element Element to which to attach the dragging functionality. * @param config Object used to configure the dragging behavior. * @deprecated Use the `createDragRef` function that provides better tree shaking. * @breaking-change 23.0.0
(
element: ElementRef<HTMLElement> | HTMLElement,
config?: DragRefConfig,
)
| 28 | * @breaking-change 23.0.0 |
| 29 | */ |
| 30 | createDrag<T = any>( |
| 31 | element: ElementRef<HTMLElement> | HTMLElement, |
| 32 | config?: DragRefConfig, |
| 33 | ): DragRef<T> { |
| 34 | return createDragRef(this._injector, element, config); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Turns an element into a drop list. |
nothing calls this directly
no test coverage detected