UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

23 lines (22 loc) 1.21 kB
import { CdkDrag, CdkDropList } from "@angular/cdk/drag-drop"; import { AfterContentInit, ElementRef, OnDestroy, QueryList, Renderer2 } from "@angular/core"; import { Observable } from "rxjs"; import * as i0 from "@angular/core"; export declare class DndDropTargetDirective implements AfterContentInit, OnDestroy { private targetDropList; private renderer; draggables: QueryList<CdkDrag>; canBeDropped: (item: any, dropListRef?: CdkDropList) => boolean; showDropZone$: Observable<boolean>; canLastDragItemBeDropped$: Observable<boolean>; private itemDragStarted$; private readonly _destroy$; get isDropZoneActive(): boolean; private _canLastDragItemBeDropped; get canLastDragItemBeDropped(): boolean; constructor(targetDropList: CdkDropList, renderer: Renderer2, hostElement: ElementRef); ngAfterContentInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DndDropTargetDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DndDropTargetDirective, "[cdkDropList][nuiDndDropTarget]", ["nuiDndDropTarget"], { "canBeDropped": { "alias": "canBeDropped"; "required": false; }; }, {}, ["draggables"], never, false, never>; }