Files properties list

Files is an array of object with following properties. You can access and use, but cannot modified properties that are locked . You can only modified unlocked ones

  • file The original uploaded file
  • key a unique key
  • url a preview url for the file
  • loaded true if the preview file is loaded when you use the onLoad function
  • update contains all your changes like, crop, resizing etc...
  • fetching tell you if we are retrieving some blob boolean
  • selfRemove() a method to remove an upload file
  • selfUpdate() a method to save any files changes
    This method take one arguments save the changes on update property
  • onLoad() a method to revoke the preview url. This works only if there is no persitID (PID). It also set the loaded property to true if preview url is loaded

Hit next to know more about all validations PROPERTIES