Documentation

onProgress

function

N/A

Triggered every time a file upload has a progress update.

Arguments

  • file
    The file being uploaded
  • event
    The event object with details about the progress update
    • lengthComputable
      Boolean telling whether the length of the file is computable
    • loaded
      The number of btyes loaded
    • total
      The total number of bytes to be loaded

Demo