1 | import { ChangeDetectorRef } from '@angular/core';
|
2 | import { EventEmitter, ElementRef } from '@angular/core';
|
3 | import { AbstractComponent } from './abstract.component';
|
4 | import { DragDropConfig } from './dnd.config';
|
5 | import { DragDropService, DragDropData } from './dnd.service';
|
6 | export declare class DroppableComponent extends AbstractComponent {
|
7 | set droppable(value: boolean);
|
8 | |
9 |
|
10 |
|
11 |
|
12 | onDropSuccess: EventEmitter<DragDropData>;
|
13 | onDragEnter: EventEmitter<DragDropData>;
|
14 | onDragOver: EventEmitter<DragDropData>;
|
15 | onDragLeave: EventEmitter<DragDropData>;
|
16 | set allowdrop(value: (dropData: any) => boolean);
|
17 | set dropzones(value: Array<string>);
|
18 | |
19 |
|
20 |
|
21 | set effectallowed(value: string);
|
22 | |
23 |
|
24 |
|
25 | set effectcursor(value: string);
|
26 | constructor(elemRef: ElementRef, dragDropService: DragDropService, config: DragDropConfig, cdr: ChangeDetectorRef);
|
27 | _onDragEnterCallback(event: MouseEvent): void;
|
28 | _onDragOverCallback(event: MouseEvent): void;
|
29 | _onDragLeaveCallback(event: MouseEvent): void;
|
30 | _onDropCallback(event: MouseEvent): void;
|
31 | }
|