feat(crop): add targetHeight and targetWidth options (#2213)

Adding support for targetHeight and targetWidth options
This commit is contained in:
Jay Ordway
2017-12-28 06:11:10 -06:00
committed by Ibby Hadeed
parent 98db2e710c
commit 9990df8953
+1 -1
View File
@@ -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; }
}