Skip to main content

uploadBegin

fires when file upload begins

uploadBegin: (files: ISimpleVaultValue[], value: ISimpleVaultValue[]) => void;

Parameters:

  • files: array - the array of files to be uploaded
  • value: array - the current value of the control

Example

form.getItem("simpleVault").events.on("UploadBegin", function(files, value) {    console.log("UploadBegin", files, value);});

Change log:

The value parameter is added in v7.0.