• 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>;

createDropListRef

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

@paraminjectorInjector

Injector used to resolve dependencies.

@paramelementany

Element to which to attach the drop list functionality.

@returnsDropListRef<T>
Jump to details