• Overview
@angular/cdk/drag-drop

createDropListRef

function

Creates a DropListRef for an element, turning it into a drop list.

API

function createDropListRef<T = unknown>(
  injector: Injector,
  element: any,
): DropListRef<T>;
@paraminjectorInjector

Injector used to resolve dependencies.

@paramelementany

Element to which to attach the drop list functionality.

@returnsDropListRef<T>
Jump to details