UNPKG

angular-upcrop

Version:

Library with upload and crop feature for Angular 6+

68 lines (67 loc) 1.2 kB
import { OnInit, EventEmitter } from '@angular/core'; import { CropperComponent } from 'angular-cropperjs'; export declare class UpcropCropComponent implements OnInit { angularCropper: CropperComponent; config: any; uploader: any; onCropImage: EventEmitter<{}>; uploading: any; current: any; currentNumber: any; constructor(); ngOnInit(): void; /** * Set cropping * set cropping and everything to start crop * @param uploader */ setCropping(uploader: any): void; /** * Unset cropping */ unsetCropping(): void; /** * Go to next crop */ goToNextCrop(): void; /** * Emit on crop image */ emitOnCropImage(): void; /** * Zoom in */ zoomIn(): void; /** * Zoom out */ zoomOut(): void; /** * Go left */ goLeft(): void; /** * Go right */ goRight(): void; /** * Go up */ goUp(): void; /** * Go down */ goDown(): void; /** * Rotate left */ rotateLeft(): void; /** * Rotate right */ rotateRight(): void; /** * Reset */ reset(): void; }