UNPKG

@yoyoboot/l-52abp-ng-form-generator

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

15 lines (14 loc) 727 B
import { DropEffect, EffectAllowed } from "./dnd-types"; export interface DndState { isDragging: boolean; dropEffect?: DropEffect; effectAllowed?: EffectAllowed; type?: string; } export declare function startDrag(event: DragEvent, effectAllowed: EffectAllowed, type: string | undefined): void; export declare function endDrag(): void; export declare function setDropEffect(event: DragEvent, dropEffect: DropEffect): void; export declare function getDropEffect(event: DragEvent, effectAllowed?: EffectAllowed | DropEffect): DropEffect; export declare function getDndType(event: DragEvent): string | undefined; export declare function isExternalDrag(): boolean; export declare const dndState: Readonly<DndState>;