mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
feat(crop): add targetHeight and targetWidth options (#2213)
Adding support for targetHeight and targetWidth options
This commit is contained in:
parent
98db2e710c
commit
9990df8953
@ -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; }
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user