argos/dmp-frontend/src/app/ui/transition-group/transition-group-item.direc...

17 lines
320 B
TypeScript
Raw Normal View History

import {Directive, ElementRef} from "@angular/core";
@Directive({
selector: '[transition-group-item]'
})
export class TransitionGroupItemDirective {
prevPos: any;
newPos: any;
el: HTMLElement;
moved: boolean;
moveCallback: any;
constructor(elRef: ElementRef) {
this.el = elRef.nativeElement;
}
}