Interface IUploaderConfig
Provides properties for the AuWidgetUploader widget.
Package: ui-framework
Properties
buttonText
Declaration
buttonText: string
Property Value
Type | Description |
---|---|
string |
destination
An endpoint that performs the upload.
Declaration
destination: string
Property Value
Type | Description |
---|---|
string | An endpoint that performs the upload. |
fileFormName
A key that defines the file name for saving the uploaded file.
Declaration
fileFormName: string
Property Value
Type | Description |
---|---|
string | A key that defines the file name for saving the uploaded file. |
fileTypes
An array of supported file types.
Declaration
fileTypes: Array<string>
Property Value
Type | Description |
---|---|
Array<string> | An array of supported file types. |
form
Declaration
form: [key: string]: any
Property Value
Type | Description |
---|---|
[key: string]: any |
headers
A dictionary defining HTTP response headers.
Declaration
headers: [key: string]: string
Property Value
Type | Description |
---|---|
[key: string]: string | A dictionary defining HTTP response headers. |
multiple
If true
, users will be allowed to upload multiple files.
Declaration
multiple: boolean
Property Value
Type | Description |
---|---|
boolean | If |
onError
A function that will be executed after a failed upload.
Declaration
onError: Function
Property Value
Type | Description |
---|---|
Function | A function that will be executed after a failed upload. |
onSuccess
A function that will be executed after a successful upload.
Declaration
onSuccess: Function
Property Value
Type | Description |
---|---|
Function | A function that will be executed after a successful upload. |
responseType
Declaration
responseType: string
Property Value
Type | Description |
---|---|
string |
supportedText
Text followed by supported formats.
Declaration
supportedText: string
Property Value
Type | Description |
---|---|
string | Text followed by supported formats. |
text
The text message.
Declaration
text: string
Property Value
Type | Description |
---|---|
string | The text message. |