angular-upcrop
Version:
Library with upload and crop feature for Angular 6+
14 lines (13 loc) • 373 B
TypeScript
import { ElementRef, Renderer2, SimpleChanges } from '@angular/core';
export declare class UpcropImagePreviewDirective {
private el;
private renderer;
image: any;
constructor(el: ElementRef, renderer: Renderer2);
/**
* Ng on changes
* Read file when image changes
* @param changes
*/
ngOnChanges(changes: SimpleChanges): void;
}