mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update index.d.ts
This commit is contained in:
parent
aa0097e633
commit
0b111f9e2b
4
types/cropperjs/index.d.ts
vendored
4
types/cropperjs/index.d.ts
vendored
@ -426,9 +426,9 @@ declare class cropperjs {
|
||||
/**
|
||||
* Replace the image's src and rebuild the cropper.
|
||||
* @param url A new image url
|
||||
* @param hasSameSize If the new image has the same size with the old one, then it will not rebuilt the cropper and only update the urls of all related images.
|
||||
* @param hasSameSize If the new image has the same size with the old one, then it will not rebuilt the cropper and only update the urls of all related images. (Default: false)
|
||||
*/
|
||||
replace(url: string, hasSameSize: boolean = false): void;
|
||||
replace(url: string, hasSameSize?: boolean): void;
|
||||
|
||||
/**
|
||||
* Enable (unfreeze) the cropper.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user