@serenity-is/corelib / FileUploadEditorOptions
Interface: FileUploadEditorOptions
Defined in: src/ui/editors/uploadeditors.tsx:11
Options for the FileUploadEditor.
Extends
Extended by
Properties
allowNonImage?
optionalallowNonImage:boolean
Defined in: src/ui/helpers/uploadhelper.tsx:412
Whether non-image files are allowed.
Inherited from
FileUploadConstraints.allowNonImage
displayFileName?
optionaldisplayFileName:boolean
Defined in: src/ui/editors/uploadeditors.tsx:13
Whether to display the original file name.
maxHeight?
optionalmaxHeight:number
Defined in: src/ui/helpers/uploadhelper.tsx:400
The maximum image height.
Inherited from
FileUploadConstraints.maxHeight
maxSize?
optionalmaxSize:number
Defined in: src/ui/helpers/uploadhelper.tsx:408
The maximum file size in bytes.
Inherited from
maxWidth?
optionalmaxWidth:number
Defined in: src/ui/helpers/uploadhelper.tsx:392
The maximum image width.
Inherited from
FileUploadConstraints.maxWidth
minHeight?
optionalminHeight:number
Defined in: src/ui/helpers/uploadhelper.tsx:396
The minimum image height.
Inherited from
FileUploadConstraints.minHeight
minSize?
optionalminSize:number
Defined in: src/ui/helpers/uploadhelper.tsx:404
The minimum file size in bytes.
Inherited from
minWidth?
optionalminWidth:number
Defined in: src/ui/helpers/uploadhelper.tsx:388
The minimum image width.
Inherited from
FileUploadConstraints.minWidth
originalNameProperty?
optionaloriginalNameProperty:string
Defined in: src/ui/helpers/uploadhelper.tsx:416
The name of the property holding the original file name.
Inherited from
FileUploadConstraints.originalNameProperty
uploadIntent?
optionaluploadIntent:string
Defined in: src/ui/editors/uploadeditors.tsx:15
Upload intent for the upload service.
uploadUrl?
optionaluploadUrl:string
Defined in: src/ui/editors/uploadeditors.tsx:17
Upload URL.
urlPrefix?
optionalurlPrefix:string
Defined in: src/ui/editors/uploadeditors.tsx:19
URL prefix for file links.