You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that what you are looking for is the same as the initialCroppedAreaPercentages/initialCroppedAreaPixels of react-easy-crop.
If you are interested to contribute this feature, feel free to check the React implementation and port it to the Svelte one. I'd be happy to review the PR 🙂
I want to mount the cropper with the crop settings that the users saved before.
The crop results are saved and returned by my api.
But the crop property only accepts x and y not height and width.
Expected behavior
The crop property can accept a value like this:
The cropper uses these values as the start values
The text was updated successfully, but these errors were encountered: