An object defining configuration properties for the FileUploader UI component.
Name Description abortUploadA function that cancels the file upload.
acceptSpecifies file types users can select in the Open File dialog. The default value accepts all file types.
accessKeySpecifies the shortcut key that sets focus on the UI component.
activeStateEnabledSpecifies whether the UI component changes its visual state as a result of user interaction.
allowCancelingSpecifies if an end user can remove a file from the selection and interrupt uploading.
allowedFileExtensionsRestricts file extensions that can be uploaded to the server.
chunkSizeSpecifies the chunk size in bytes. Applies only if uploadMode is "instantly" or "useButtons". Requires a server that can process file chunks.
dialogTriggerSpecifies the HTML element which invokes the file upload dialog.
disabledSpecifies whether the UI component responds to user interaction.
dropZoneSpecifies the HTML element in which users can drag and drop files for upload.
elementAttrSpecifies the global attributes to be attached to the UI component's container element.
focusStateEnabledSpecifies whether the UI component can be focused using keyboard navigation.
heightSpecifies the UI component's height.
hintSpecifies text for a hint that appears when a user pauses on the UI component.
hoverStateEnabledSpecifies whether the FileUploader component changes the state of all its buttons when users hover over them.
inputAttrSpecifies the attributes to be passed on to the underlying <input>
element of the file
type.
The text displayed when the extension of the file being uploaded is not an allowed file extension.
invalidMaxFileSizeMessageThe text displayed when the size of the file being uploaded is greater than the maxFileSize.
invalidMinFileSizeMessageThe text displayed when the size of the file being uploaded is less than the minFileSize.
isDirtySpecifies whether the component's current value differs from the initial value.
isValidSpecifies or indicates whether the editor's value is valid.
labelTextSpecifies the text displayed on the area to which an end user can drop a file.
maxFileSizeSpecifies the maximum file size (in bytes) allowed for uploading. Applies only if uploadMode is "instantly" or "useButtons".
minFileSizeSpecifies the minimum file size (in bytes) allowed for uploading. Applies only if uploadMode is "instantly" or "useButtons".
multipleSpecifies whether the UI component enables an end user to select a single file or multiple files.
nameSpecifies the value passed to the name attribute of the underlying input element. Required to access uploaded files on the server.
onBeforeSendA function that allows you to customize the request before it is sent to the server.
onContentReadyA function that is executed when the UI component is rendered and each time the component is repainted.
onDisposingA function that is executed before the UI component is disposed of.
onDropZoneEnterA function that is executed when the mouse enters a drop zone while dragging a file.
onDropZoneLeaveA function that is executed when the mouse leaves a drop zone as it drags a file.
onFilesUploadedA function that is executed when the file upload process is complete.
onInitializedA function used in JavaScript frameworks to save the UI component instance.
onOptionChangedA function that is executed after a UI component property is changed.
onProgressA function that is executed when a file segment is uploaded.
onUploadAbortedA function that is executed when the file upload is aborted.
onUploadedA function that is executed when a file is successfully uploaded.
onUploadErrorA function that is executed when an error occurs during the file upload.
onUploadStartedA function that is executed when the file upload is started.
onValueChangedA function that is executed when one or several files are added to or removed from the selection.
progressGets the current progress in percentages.
readOnlySpecifies whether the editor is read-only.
readyToUploadMessageThe message displayed by the UI component when it is ready to upload the specified files.
rtlEnabledSwitches the UI component to a right-to-left representation.
selectButtonTextThe text displayed on the button that opens the file browser.
showFileListSpecifies whether or not the UI component displays the list of selected files.
tabIndexSpecifies the number of the element when the Tab key is used for navigating.
uploadAbortedMessageThe message displayed by the UI component when the file upload is cancelled.
uploadButtonTextThe text displayed on the button that starts uploading.
uploadChunkA function that uploads a file in chunks.
uploadCustomDataSpecifies custom data for the upload request.
uploadedMessageThe message displayed by the UI component when uploading is finished.
uploadFailedMessageThe message displayed by the UI component on uploading failure.
uploadFileA function that uploads a file.
uploadHeadersSpecifies headers for the upload request.
uploadMethodSpecifies the method for the upload request.
uploadModeSpecifies how the UI component uploads files.
uploadUrlSpecifies a target Url for the upload request.
validationErrorInformation on the broken validation rule. Contains the first item from the validationErrors array.
validationErrorsAn array of validation errors.
validationStatusIndicates or specifies the current validation status.
valueSpecifies a File instance representing the selected file. Read-only when uploadMode is "useForm".
visibleSpecifies whether the UI component is visible.
widthSpecifies the UI component's width.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4