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

Commit

Permalink
Rotate function
Browse files Browse the repository at this point in the history
Added rotate method to croppie
  • Loading branch information
laser-cake committed Apr 10, 2018
1 parent 0005896 commit bc48fbe
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 bc48fbe

Please sign in to comment.