WakCropImages Widget for Wakanda
The WakCropImages widget allows you to display a image editor, which crop and resize image. This widget is based on the Image Cropper plugin -written by Fengyuan Chen (https://github.com/fengyuanchen/cropper).
Drag and drop to the Wakanda Studio
Widget in the browser
Get the result
This widget has the following properties:
- placeholder: placeholder of the widget.
- label: label of the widget
This widget has the following events:
- save: Fired when the button(save) is clicked. Here you can get the result of image editing as data URI scheme. Example:
var dataUri = event.data.dataUri;
For more information on how to install a custom widget, refer to Installing a Custom Widget.
For more information about Custom Widgets, refer to Custom Widgets in the Architecture of Wakanda Applications manual.