We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f50380 commit 4823f95Copy full SHA for 4823f95
src/main/java/com/flowingcode/vaadin/addons/imagecrop/ImageCrop.java
@@ -68,7 +68,10 @@ public ImageCrop(String src) {
68
* Constructs an ImageCrop component with the given image.
69
*
70
* @param image the image to be cropped
71
+ * @deprecated This constructor only preserves the image URL and {@linkplain #setImageAlt(String)
72
+ * alternate text}. Use {@link #ImageCrop(String)} instead.
73
*/
74
+ @Deprecated(forRemoval = true, since = "1.2.0")
75
public ImageCrop(Image image) {
76
this(image.getSrc());
77
image.getAlt().ifPresent(a -> this.setImageAlt(a));
0 commit comments