@swimlane/ngx-dnd
Version:
Drag and Drop for Angular2 and beyond!
41 lines (40 loc) • 1.87 kB
TypeScript
import { OnInit } from '@angular/core';
import { ContainerComponent } from '../container/container.component';
import { DraggableDirective } from '../../directives/ngx-draggable.directive';
import * as i0 from "@angular/core";
/**
* Component that allows nested ngxDroppable and ngxDraggables
* Should only be use inside a ngx-dnd-container
* Outside a ngx-dnd-container use ngxDroppable
*
* @export
*/
export declare class ItemComponent implements OnInit {
container: ContainerComponent;
draggableDirective: DraggableDirective;
model: any;
get dropZone(): any;
set dropZone(val: any);
get dropZones(): any;
set dropZones(val: any);
get droppableItemClass(): any;
set droppableItemClass(val: any);
get removeOnSpill(): boolean;
set removeOnSpill(val: boolean);
get copy(): boolean;
set copy(val: boolean);
_copy: boolean;
_dropZone: any;
_dropZones: any;
_droppableItemClass: any;
_removeOnSpill: boolean;
data: any;
get hasHandle(): boolean;
get moveDisabled(): boolean;
get classString(): string;
get type(): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "array";
constructor(container: ContainerComponent, draggableDirective: DraggableDirective);
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent, "ngx-dnd-item", never, { "model": { "alias": "model"; "required": false; }; "dropZone": { "alias": "dropZone"; "required": false; }; "dropZones": { "alias": "dropZones"; "required": false; }; "droppableItemClass": { "alias": "droppableItemClass"; "required": false; }; "removeOnSpill": { "alias": "removeOnSpill"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; }, {}, never, never, false, never>;
}