ng2-dnd
Version:
Angular 2 Drag-and-Drop without dependencies
17 lines (16 loc) • 482 B
TypeScript
import { EventEmitter } from 'angular2/core';
import { DragDropConfig } from './dnd.config';
export declare class DragDropService {
allowedDropZones: Array<string>;
onDragSuccessCallback: EventEmitter<any>;
dragData: any;
}
export declare class DragDropSortableService {
private _config;
index: number;
sortableData: Array<any>;
private _elem;
elem: HTMLElement;
constructor(_config: DragDropConfig);
markSortable(elem: HTMLElement): void;
}