Skip to content

Commit

Permalink
feat(crop): add targetHeight and targetWidth options (danielsogl#2213)
Browse files Browse the repository at this point in the history
Adding support for targetHeight and targetWidth options
  • Loading branch information
jayordway authored and ihadeed committed Dec 28, 2017
1 parent 98db2e7 commit 9990df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@ionic-native/plugins/crop/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export class Crop extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
crop(pathToImage: string, options?: { quality: number }): Promise<string> { return; }
crop(pathToImage: string, options?: { quality: number, targetHeight: number, targetWidth: number }): Promise<string> { return; }

}

0 comments on commit 9990df8

Please sign in to comment.