onFileUploaded( )


An event that triggers when a file has completed uploading.

The onFileUploaded() event handler runs when a file has been uploaded to to the Media Manager using the importFile(), upload() function, or the URL returned by the getUploadUrl() function.

The FileEvent object contains information about the uploaded file and the upload context.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventFileEventRequired

The uploaded file information.

Was this helpful?
Yes
No