postUpload
Event to indicate that a file upload is complete and has been processed.
Please note - this property requires the Editor extension for DataTables.
Description
This event is triggered whenever a file has been uploaded and processed (both upload / uploadMany) by the end user. It can be used to update the UI to indicate that the file has been uploaded (note that Editor's own UI will automatically update).
Type
function( e, fieldName, fieldValue )
Parameters:
| Name | Type | Optional | |
|---|---|---|---|
| 1 | e | No | |
Event object | |||
| 2 | fieldName | No | |
The name ( | |||
| 3 | fieldValue |
| No |
The value that the field currently has. This will typically be an integer for | |||
Example
Simple notification of upload complete:
editor.on( 'postUpload', function ( e, fieldName, val ) {
notify( 'Upload complete' );
} );Related
The following options are directly related and may also be useful in your application development.