createDropListRef
function
Creates a DropListRef for an element, turning it into a drop list.
API
function createDropListRef<T = unknown>(
injector: Injector,
element: HTMLElement | ElementRef<HTMLElement>,
): DropListRef<T>;@paramelement
HTMLElement | ElementRef<HTMLElement>Element to which to attach the drop list functionality.
@returns
DropListRef<T>Jump to details