@ng-dnd/core
Version:
Drag and Drop for Angular
12 lines (11 loc) • 448 B
TypeScript
import { Unsubscribe, Identifier } from 'dnd-core';
export declare class Reconnector<O = any> {
private backendConnector;
handlerId: Identifier | null;
node?: Node;
options?: O;
disconnect?: Unsubscribe | null;
constructor(backendConnector: (handlerId: Identifier, node: Node, options?: O) => Unsubscribe);
reconnect: (parentHandlerId: Identifier | null) => void;
hook: (nativeElement: Node, options?: O) => void;
}