Creates a file operation to upload a new file.
The new file to upload.
A Promise that resolves when the file operation has been created.
Returns the restrictions of the control's file category.
Optional
category: string{string} Get restrictions for the file category name.
The file restrictions that should be applied.
Returns all saved and unsaved files associated with the current object.
Optional
category: stringAn optional file category to filter by.
A Promise which resolves to an array of files.
Registers a function to be invoked whenever a file change event occurs. This function receives an object that contains information about the change event.
A function to be invoked when a file change event occurs.
Opens the file upload dialog box.
Additional options to pass to the file upload dialog box.
Promise which resolves to an array of uploaded files.
Opens the image upload dialog box.
Determines if multiple files can be uploaded at once.
Optional
maxSize: numberMaximum size of the image to be uploaded, in bytes.
A Promise which resolves to an array of uploaded files.
Creates a file operation to update a given file.
The updated file.
A Promise that resolves when the file operation has been created.
ControlFileApiBase extension that provides more functionality.