MCPcopy Create free account
hub / github.com/angular/components / createDropList

Method createDropList

src/cdk/drag-drop/drag-drop.ts:43–45  ·  view source on GitHub ↗

* Turns an element into a drop list. * @param element Element to which to attach the drop list functionality. * @deprecated Use the `createDropListRef` function that provides better tree shaking. * @breaking-change 23.0.0

(element: ElementRef<HTMLElement> | HTMLElement)

Source from the content-addressed store, hash-verified

41 * @breaking-change 23.0.0
42 */
43 createDropList<T = any>(element: ElementRef<HTMLElement> | HTMLElement): DropListRef<T> {
44 return createDropListRef(this._injector, element);
45 }
46}

Callers 1

drag-drop.spec.tsFile · 0.80

Calls 1

createDropListRefFunction · 0.90

Tested by

no test coverage detected