how to use onUploadComplete for the widget Uploader

this is how i use the uploader, but i cant find the way to implement the onUploadComplete event, i dont know where to put the event listenr for the onUploadComplete, can anyone helpme please?

  var uploader = webix.ui({
        view: "uploader",
        id: "uploader_1",
        container: "container_uploader",
        value: "Upload file",
        link: "mylist",
        accept:"image/png, image/gif, image/jpeg",
        upload: "http://ensenanza.hcg.com/ensenanza/uploadfilestest.fwx?id_aspi=<%Response.Write(lnCodigo)%>",
        datatype:"html"
    });

Hello,
The ways of adding event handlers (listeners) are described here.
There’re two possible options to set onUploadComplete:

  1. via the on object in the configuration of a widget
  2. via the attachEvent() method
    Please check a snippet:
    https://snippet.webix.com/ckt9ija2

thanks