mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
feat(crop): add targetHeight and targetWidth options (#2213)
Adding support for targetHeight and targetWidth options
This commit is contained in:
@@ -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; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user