• 개요
@angular/cdk/drag-drop

createDropListRef

함수

엘리먼트의 DropListRef를 생성하여 드롭 목록으로 만듭니다.

API

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

의존성을 해결하는 인젝터입니다.

@paramelementHTMLElement | ElementRef<HTMLElement>

드롭 목록 기능을 연결할 엘리먼트입니다.

@returnsDropListRef<T>
상세 내용으로 이동