UNPKG

@swimlane/ngx-dnd

Version:

Drag and Drop for Angular2 and beyond!

34 lines (33 loc) 1.79 kB
import { OnInit, AfterViewInit, TemplateRef, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; /** * Component that allows nested ngxDroppable and ngxDraggables * * @export */ export declare class ContainerComponent implements OnInit, AfterViewInit { model: any; copy: boolean; removeOnSpill: boolean; droppableItemClass: string | ((o: any) => any); dropZone: string; get dropZones(): string[]; set dropZones(val: string[]); moves: (model: any, source: any, handle: any, sibling: any) => boolean; set templateInput(template: TemplateRef<any>); set templateChild(template: TemplateRef<any>); template: TemplateRef<any>; droppable: any; drop: EventEmitter<any>; drag: EventEmitter<any>; over: EventEmitter<any>; out: EventEmitter<any>; remove: EventEmitter<any>; cancel: EventEmitter<any>; _dropZones: string[]; _defaultZones: string[]; ngOnInit(): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "ngx-dnd-container", never, { "model": { "alias": "model"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; "removeOnSpill": { "alias": "removeOnSpill"; "required": false; }; "droppableItemClass": { "alias": "droppableItemClass"; "required": false; }; "dropZone": { "alias": "dropZone"; "required": false; }; "dropZones": { "alias": "dropZones"; "required": false; }; "moves": { "alias": "moves"; "required": false; }; "templateInput": { "alias": "template"; "required": false; }; }, { "drop": "drop"; "drag": "drag"; "over": "over"; "out": "out"; "remove": "remove"; "cancel": "cancel"; }, ["templateChild"], ["*"], false, never>; }