UNPKG

@swimlane/ngx-dnd

Version:

Drag and Drop for Angular2 and beyond!

25 lines (24 loc) 891 B
import dragula from '@swimlane/dragula'; import { DroppableDirective } from '../directives/ngx-droppable.directive'; import { DraggableDirective } from '../directives/ngx-draggable.directive'; import * as i0 from "@angular/core"; /** * Central service that handles all events * * @export */ export declare class DrakeStoreService { private droppableMap; private draggableMap; private dragulaOptions; private drake; constructor(); register(droppable: DroppableDirective): void; remove(droppable: DroppableDirective): void; registerDraggable(draggable: DraggableDirective): void; removeDraggable(draggable: DraggableDirective): void; createDrakeOptions(): dragula.DragulaOptions; registerEvents(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DrakeStoreService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<DrakeStoreService>; }