UI Framework ReferenceIUploaderConfig

Interface: IUploaderConfig

Provides properties for the uploader widget.

Hierarchy

  • IUploaderConfig

Index

Properties

Properties

buttonText

buttonText: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:5


destination

destination: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:13

An endpoint that performs the upload.


fileFormName

fileFormName: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:19

A key that defines the file name for saving the uploaded file.


fileTypes

fileTypes: Array‹string›

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:9

An array of supported file types.


form

form: object

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:20

Type declaration:

  • [ key: string]: any

headers

headers: object

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:17

A dictionary defining HTTP response headers.

Type declaration:

  • [ key: string]: string

multiple

multiple: boolean

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:11

If true, users will be allowed to upload multiple files.


onError

onError: Function

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:25

A function that will be executed after a failed upload.


onSuccess

onSuccess: Function

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:23

A function that will be executed after a successful upload.


responseType

responseType: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:21


supportedText

supportedText: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:7

Text followed by supported formats.


text

text: string

Defined in src/widgets/au-widget-uploader/IUploaderConfig.ts:4

The text message.