From 9990df895333292b7791cb59bc97b7deb22a6fdb Mon Sep 17 00:00:00 2001 From: Jay Ordway Date: Thu, 28 Dec 2017 06:11:10 -0600 Subject: [PATCH] feat(crop): add targetHeight and targetWidth options (#2213) Adding support for targetHeight and targetWidth options --- src/@ionic-native/plugins/crop/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/crop/index.ts b/src/@ionic-native/plugins/crop/index.ts index 52c5c041e..ab5242ffd 100644 --- a/src/@ionic-native/plugins/crop/index.ts +++ b/src/@ionic-native/plugins/crop/index.ts @@ -38,6 +38,6 @@ export class Crop extends IonicNativePlugin { @Cordova({ callbackOrder: 'reverse' }) - crop(pathToImage: string, options?: { quality: number }): Promise { return; } + crop(pathToImage: string, options?: { quality: number, targetHeight: number, targetWidth: number }): Promise { return; } }