@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
20 lines (19 loc) • 900 B
TypeScript
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
import { Subscription } from 'rxjs';
import { DragDropSyncService } from '../services/drag-drop-sync.service';
import { DragDropService } from '../services/drag-drop.service';
import { DraggableDirective } from './draggable.directive';
export declare class DragSyncDirective implements OnInit, OnDestroy {
el: ElementRef;
private draggable;
private dragDropSyncService;
private dragDropService;
dragSyncGroup: string;
subscription: Subscription;
syncGroupDirectives: Array<DragSyncDirective>;
constructor(el: ElementRef, draggable: DraggableDirective, dragDropSyncService: DragDropSyncService, dragDropService: DragDropService);
ngOnInit(): void;
ngOnDestroy(): void;
subDragElEvent: (bool: boolean) => void;
renderDisplay(nativeEl: HTMLElement, bool: boolean): void;
}