v0.3.1
Change Log:
-
Add "image placeholder" feature. Now you can not only use text placeholder but also use an image placeholder when croppa is empty. Find demo "Image Placeholder" in the demo page.
-
Add "draw" event which emitted on every view update (including init, move, zoom, rotate) when croppa is not empty. It is useful when you want to add attachment on image, for example watermark and stickers. Find demo "Attachments" in the demo page to see how it is done.
-
Add methods
getMetadata()
andapplyMetadata(metadata)
. Metadata describes current user manipulations (moving, zooming, rotating). You can save it somewhere, and later apply it to retrieve the previous state. To know more, find demo "Use Metadata" in the demo page. (#24)