Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Merge pull request #7 from ash4king/master
Browse files Browse the repository at this point in the history
Rotate function
  • Loading branch information
deej81 authored Apr 13, 2018
2 parents 0005896 + bc48fbe commit d99c215
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ngx-croppie.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ export class NgxCroppieComponent implements OnInit {
this.result.emit(res);
});
}

rotate(degrees: number){
this._croppie.rotate(degrees);
}
}

0 comments on commit d99c215

Please sign in to comment.