From bc48fbe4b38007481debf5609c8a8cb41e12f698 Mon Sep 17 00:00:00 2001 From: Ash Stansfield Date: Tue, 10 Apr 2018 21:09:47 +0100 Subject: [PATCH] Rotate function Added rotate method to croppie --- src/ngx-croppie.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ngx-croppie.component.ts b/src/ngx-croppie.component.ts index e68c25d..0537e06 100644 --- a/src/ngx-croppie.component.ts +++ b/src/ngx-croppie.component.ts @@ -38,4 +38,8 @@ export class NgxCroppieComponent implements OnInit { this.result.emit(res); }); } + + rotate(degrees: number){ + this._croppie.rotate(degrees); + } } \ No newline at end of file