UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

17 lines (16 loc) 769 B
import { OnDestroy } from '@angular/core'; import { PageFileDragHandler } from './page-file-drag-handler.service'; import * as i0 from "@angular/core"; /** * Prevents accidentally dropping files outside of a {@link FileDropArea} */ export declare class PreventFileDrop implements OnDestroy { private dragHandler; prevent: boolean | 'page'; constructor(dragHandler: PageFileDragHandler); ngOnDestroy(): void; set gtxPreventFileDrop(val: boolean | 'true' | 'false' | 'page'); preventAccidentalDrop(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<PreventFileDrop, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PreventFileDrop, "[gtxPreventFileDrop]", never, { "gtxPreventFileDrop": "gtxPreventFileDrop"; }, {}, never>; }