This event fires when the Image Editor is closed.
<script type="text/javascript"> function Uploader1_ImageEditorClose(index, result){ //...your code... } </script>
<aur:Uploader ID="Uploader1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="ImageEditorClose" HandlerName="Uploader1_ImageEditorClose" /> </ClientEvents> </aur:Uploader>
<script type="text/javascript"> function Uploader1_ImageEditorClose(index, result){ //...your code... } </script>
<?php $Uploader = new Uploader("Uploader1"); //...other params... $Uploader->getClientEvents()->setImageEditorClose("Uploader1_ImageEditorClose"); //...other params... $Uploader->render(); ?>
function Uploader1_ImageEditorClose(index, result){ //...your code... }
$au.uploader({ events: { //...other params... imageEditorClose: [Uploader1_ImageEditorClose], //...other params... } })
Type: Number
Index number of an image that was edited.
Type: String
One of the following values: